diff options
| author | rubenwardy <rw@rubenwardy.com> | 2019-07-02 00:45:04 +0100 |
|---|---|---|
| committer | rubenwardy <rw@rubenwardy.com> | 2019-07-02 00:45:16 +0100 |
| commit | b36273a848e6dd1a7971283cb3134b6a1e5e39ee (patch) | |
| tree | 54a58e13da0895588f8a0c99a885e1ba16dd5315 /migrations | |
| parent | 7b087158d7f6080bd463d50e3a12fb8fb307d460 (diff) | |
| download | cheatdb-1.15.0.tar.xz | |
Add website and donation supportv1.15.0
Diffstat (limited to 'migrations')
| -rw-r--r-- | migrations/versions/d6ae9682c45f_.py | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/migrations/versions/d6ae9682c45f_.py b/migrations/versions/d6ae9682c45f_.py new file mode 100644 index 0000000..7ab8de8 --- /dev/null +++ b/migrations/versions/d6ae9682c45f_.py @@ -0,0 +1,30 @@ +"""empty message + +Revision ID: d6ae9682c45f +Revises: 7ff57806ffd5 +Create Date: 2019-07-01 23:27:42.666877 + +""" +from alembic import op +import sqlalchemy as sa +from sqlalchemy.dialects import postgresql + +# revision identifiers, used by Alembic. +revision = 'd6ae9682c45f' +down_revision = '7ff57806ffd5' +branch_labels = None +depends_on = None + + +def upgrade(): + # ### commands auto generated by Alembic - please adjust! ### + op.add_column('user', sa.Column('donate_url', sa.String(length=255), nullable=True)) + op.add_column('user', sa.Column('website_url', sa.String(length=255), nullable=True)) + # ### end Alembic commands ### + + +def downgrade(): + # ### commands auto generated by Alembic - please adjust! ### + op.drop_column('user', 'website_url') + op.drop_column('user', 'donate_url') + # ### end Alembic commands ### |
