Skip to content
Snippets Groups Projects
Commit d137a4cc authored by Syrine Neifar's avatar Syrine Neifar
Browse files

Remove unused variables

parent 46b64a1d
No related branches found
No related tags found
1 merge request!86Draft: Resolve "Make it easier to add an app"
Pipeline #36222 passed with stages
in 4 minutes and 54 seconds
......@@ -16,7 +16,6 @@ branch_labels = None
depends_on = None
def upgrade():
op.create_table(
"app",
sa.Column("id", sa.Integer(), nullable=False),
......@@ -40,7 +39,7 @@ def upgrade():
sa.PrimaryKeyConstraint("user_id", "app_id"),
)
role_table = op.create_table(
op.create_table(
"role",
sa.Column("id", sa.Integer(), nullable=False),
sa.Column("name", sa.String(length=64), nullable=True),
......@@ -53,7 +52,7 @@ def upgrade():
op.execute("INSERT INTO `role` (id, `name`) VALUES (2, 'user')")
op.execute("INSERT INTO `role` (id, `name`) VALUES (3, 'no access')")
oauthclient_app_table = op.create_table('oauthclient_app',
op.create_table('oauthclient_app',
sa.Column('oauthclient_id', mysql.VARCHAR(length=64), nullable=False),
sa.Column('app_id', mysql.INTEGER(display_width=11), autoincrement=False, nullable=False),
sa.ForeignKeyConstraint(['app_id'], ['app.id'], name='oauthclient_app_fk_app_id'),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment