Nightly, bank, award & dinks

This commit is contained in:
stijndcl 2022-06-30 21:17:48 +02:00
parent 4587a49311
commit 032b636b02
9 changed files with 157 additions and 5 deletions

View file

@ -1,8 +1,8 @@
"""Initial currency models
Revision ID: 5f3a11a80e69
Revision ID: 0d03c226d881
Revises: b2d511552a1f
Create Date: 2022-06-30 19:40:02.701336
Create Date: 2022-06-30 20:02:27.284759
"""
from alembic import op
@ -10,7 +10,7 @@ import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '5f3a11a80e69'
revision = '0d03c226d881'
down_revision = 'b2d511552a1f'
branch_labels = None
depends_on = None
@ -20,12 +20,12 @@ def upgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###
op.create_table('users',
sa.Column('user_id', sa.BigInteger(), nullable=False),
sa.Column('dinks', sa.BigInteger(), nullable=False),
sa.PrimaryKeyConstraint('user_id')
)
op.create_table('bank',
sa.Column('bank_id', sa.Integer(), nullable=False),
sa.Column('user_id', sa.BigInteger(), nullable=True),
sa.Column('dinks', sa.BigInteger(), nullable=False),
sa.Column('interest_level', sa.Integer(), nullable=False),
sa.Column('capacity_level', sa.Integer(), nullable=False),
sa.Column('rob_level', sa.Integer(), nullable=False),