fix: resolve issue with sqlite migration
This commit is contained in:
parent
c146de3a4d
commit
efb46c99f9
1 changed files with 0 additions and 4 deletions
|
|
@ -79,10 +79,6 @@ def upgrade() -> None:
|
||||||
dataset = _define_dataset_table()
|
dataset = _define_dataset_table()
|
||||||
user = _define_user_table()
|
user = _define_user_table()
|
||||||
|
|
||||||
print(insp.get_table_names())
|
|
||||||
|
|
||||||
print(_get_column(insp, "user_tenants", "tenant_id"))
|
|
||||||
|
|
||||||
if "user_tenants" not in insp.get_table_names():
|
if "user_tenants" not in insp.get_table_names():
|
||||||
# Define table with all necessary columns including primary key
|
# Define table with all necessary columns including primary key
|
||||||
user_tenants = op.create_table(
|
user_tenants = op.create_table(
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue