mirror of
https://github.com/stijndcl/didier.git
synced 2026-04-07 23:55:46 +02:00
Check for free games
This commit is contained in:
parent
41b5efd12d
commit
deefeb1106
11 changed files with 297 additions and 75 deletions
30
alembic/versions/9fb84b4d9f0b_add_free_games.py
Normal file
30
alembic/versions/9fb84b4d9f0b_add_free_games.py
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
"""Add free games
|
||||
|
||||
Revision ID: 9fb84b4d9f0b
|
||||
Revises: 11388e39bb90
|
||||
Create Date: 2022-10-13 19:17:58.032182
|
||||
|
||||
"""
|
||||
import sqlalchemy as sa
|
||||
|
||||
from alembic import op
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = "9fb84b4d9f0b"
|
||||
down_revision = "11388e39bb90"
|
||||
branch_labels = None
|
||||
depends_on = None
|
||||
|
||||
|
||||
def upgrade() -> None:
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
op.create_table(
|
||||
"free_games", sa.Column("free_game_id", sa.Integer(), nullable=False), sa.PrimaryKeyConstraint("free_game_id")
|
||||
)
|
||||
# ### end Alembic commands ###
|
||||
|
||||
|
||||
def downgrade() -> None:
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
op.drop_table("free_games")
|
||||
# ### end Alembic commands ###
|
||||
Loading…
Add table
Add a link
Reference in a new issue