feat: Initial commit with full deployment architecture and scripts

This commit is contained in:
super committed 2026-02-24 16:45:11 +08:00
commit abb3efe114
96 files changed
+16789

No files matched your search

@@ -0,0 +1,34 @@
"""Add Department table
Revision ID: 60b4aee3ad2d
Revises: 48f1ca8fa73a
Create Date: 2026-02-23 20:56:21.095082
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '60b4aee3ad2d'
down_revision = '48f1ca8fa73a'
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.create_table('departments',
sa.Column('id', sa.Integer(), nullable=False),
sa.Column('name', sa.String(length=100), nullable=False),
sa.Column('description', sa.Text(), nullable=True),
sa.PrimaryKeyConstraint('id'),
sa.UniqueConstraint('name')
)
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.drop_table('departments')
# ### end Alembic commands ###