-cleanup
This commit is contained in:
parent
c86c92200c
commit
0a75bcad23
1
src/exchangedb/.gitignore
vendored
1
src/exchangedb/.gitignore
vendored
@ -8,3 +8,4 @@ bench-db-postgres
|
|||||||
shard-drop0001.sqltest-exchangedb-by-j-postgres
|
shard-drop0001.sqltest-exchangedb-by-j-postgres
|
||||||
test-exchangedb-by-j-postgres
|
test-exchangedb-by-j-postgres
|
||||||
perf-exchangedb-reserves-in-insert-postgres
|
perf-exchangedb-reserves-in-insert-postgres
|
||||||
|
exchange-0002.sql
|
||||||
|
@ -87,7 +87,7 @@ BEGIN
|
|||||||
EXECUTE FORMAT (
|
EXECUTE FORMAT (
|
||||||
'ALTER TABLE ' || table_name ||
|
'ALTER TABLE ' || table_name ||
|
||||||
' ADD CONSTRAINT ' || table_name || '_foreign_reserve_pub'
|
' ADD CONSTRAINT ' || table_name || '_foreign_reserve_pub'
|
||||||
' FOREIGN KEY (reserve_pub) '
|
' FOREIGN KEY (reserve_pub)'
|
||||||
' REFERENCES reserves (reserve_pub) ON DELETE CASCADE'
|
' REFERENCES reserves (reserve_pub) ON DELETE CASCADE'
|
||||||
);
|
);
|
||||||
END $$;
|
END $$;
|
||||||
|
Loading…
Reference in New Issue
Block a user