Skip to content

Commit 32c8ea1

Browse files
committed
docs: make precommit happy
1 parent fbfbb6b commit 32c8ea1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/development/database-migrations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def upgrade() -> None:
136136
# see e.g. here for why: https://github.com/sqlalchemy/alembic/discussions/1433
137137
op.add_column('user', sa.Column('organisation', sa.String(length=200), nullable=False, server_default=sa.text("'Not specified'"),))
138138

139-
# Any rows in the database table that existed before the migration will now be populated with the default value 'Not specified'.
139+
# Any rows in the database table that existed before the migration will now be populated with the default value 'Not specified'.
140140
# At the end of the same migration script, remove the server_default param from the column (with `server_default=None`) - so our models match exactly with the database schema.
141141
# New rows will now require the application to provide a value for the organisation column.
142142
op.alter_column('user', 'organisation', server_default=None)

0 commit comments

Comments
 (0)