Fix in dbadmin
This commit is contained in:
parent
d71f487af8
commit
f9adce024d
1 changed files with 6 additions and 0 deletions
|
|
@ -142,6 +142,12 @@ def start():
|
||||||
|
|
||||||
print("--Adding uniques elements for the new table")
|
print("--Adding uniques elements for the new table")
|
||||||
|
|
||||||
|
for k_field, unique_set in WebModel.arr_sql_unique[table].items():
|
||||||
|
|
||||||
|
if unique_set!="":
|
||||||
|
connection.query(unique_set)
|
||||||
|
print("---Added unique to "+unique_set)
|
||||||
|
|
||||||
#See if changes exists
|
#See if changes exists
|
||||||
|
|
||||||
#Check if created tables are modified.
|
#Check if created tables are modified.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue