Skip to content

Commit

Permalink
alembic heads fixed (#1002)
Browse files Browse the repository at this point in the history
* alembic scripts fixed
  • Loading branch information
saravanpa-aot authored Sep 10, 2020
1 parent 009f43a commit eb8d435
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
24 changes: 24 additions & 0 deletions auth-api/migrations/versions/d1b167ef61da_merge_heads.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
"""merge heads
Revision ID: d1b167ef61da
Revises: eff007a689cb, 032248a1b370
Create Date: 2020-09-10 15:14:57.527181
"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = 'd1b167ef61da'
down_revision = ('eff007a689cb', '032248a1b370')
branch_labels = None
depends_on = None


def upgrade():
pass


def downgrade():
pass
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ def upgrade():
op.bulk_insert(
permissions_table,
[
{'id': '20', 'membership_type_code': 'ADMIN', 'actions': 'RESET_OTP'},
{'id': '21', 'membership_type_code': 'COORDINATOR', 'actions': 'RESET_OTP'}
{'id': '22', 'membership_type_code': 'ADMIN', 'actions': 'RESET_OTP'},
{'id': '23', 'membership_type_code': 'COORDINATOR', 'actions': 'RESET_OTP'}
]
)

Expand Down

0 comments on commit eb8d435

Please sign in to comment.