diff options
| author | Karan Jayachandra <karan.jayachandra@nxp.com> | 2025-11-09 09:56:59 +0100 |
|---|---|---|
| committer | Karan Jayachandra <karan.jayachandra@nxp.com> | 2025-11-09 09:56:59 +0100 |
| commit | 34d77cd777bd44d7bfe0e3ab3379f9be256ca88b (patch) | |
| tree | 04fba9f8bb99ac8fa15a1048b0ee06cbfed7f25d /migrations/versions/d158cf8f4950_.py | |
| parent | 90390365bd93a4ee086c2931bb70ffa571a726b9 (diff) | |
Moved to javascript codebase
Diffstat (limited to 'migrations/versions/d158cf8f4950_.py')
| -rw-r--r-- | migrations/versions/d158cf8f4950_.py | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/migrations/versions/d158cf8f4950_.py b/migrations/versions/d158cf8f4950_.py deleted file mode 100644 index ba0ef5b..0000000 --- a/migrations/versions/d158cf8f4950_.py +++ /dev/null @@ -1,41 +0,0 @@ -"""empty message - -Revision ID: d158cf8f4950 -Revises: -Create Date: 2025-07-06 15:31:24.124657 - -""" - -from alembic import op -import sqlalchemy as sa - - -# revision identifiers, used by Alembic. -revision = "d158cf8f4950" -down_revision = None -branch_labels = None -depends_on = None - - -def upgrade(): - # ### commands auto generated by Alembic - please adjust! ### - op.create_table( - "user", - sa.Column("id", sa.Integer(), nullable=False), - sa.Column("username", sa.String(length=64), nullable=False), - sa.Column("password_hash", sa.String(length=256), nullable=True), - sa.PrimaryKeyConstraint("id"), - ) - with op.batch_alter_table("user", schema=None) as batch_op: - batch_op.create_index(batch_op.f("ix_user_username"), ["username"], unique=True) - - # ### end Alembic commands ### - - -def downgrade(): - # ### commands auto generated by Alembic - please adjust! ### - with op.batch_alter_table("user", schema=None) as batch_op: - batch_op.drop_index(batch_op.f("ix_user_username")) - - op.drop_table("user") - # ### end Alembic commands ### |
