Merge branch 'dev' into feature/data_validation_t77

This commit is contained in:
abpwrs committed 2020-04-28 21:30:44 -05:00
commit 66724d153e
6 files changed
+1 -6

No files matched your search

-1
View File
@@ -1 +0,0 @@
db/backups/20200408.sql.gz:b365bf5fc13dbbe26d93e88f6523451b092999edc2a3f0680482f3a7e7369468
-3
View File
@@ -1,3 +0,0 @@
*
!.gitignore
!*.secret
Binary file not shown.
+1 -1
View File
@@ -125,7 +125,7 @@ def main(argv):
for fk_field, fk_table in fk_fields:
pk_fk_table = all_data[fk_table][0]
# POTENTIALLY SUS: ASSUMES WE ARE ALWAYS LINKING TO THE PK OF THE TABLE
# ASSUMES WE ARE ALWAYS LINKING TO THE PK OF THE TABLE
constraint_name = f"fk_{fk_table}_id"
psql.execute_command(f"ALTER TABLE {table_name} ALTER COLUMN {fk_field} TYPE numeric USING {fk_field}::numeric;")
File renamed without changes.
-1
View File
@@ -1,4 +1,3 @@
# import some python ORM for SQl
import pandas as pd
import sqlalchemy as database