diff options
author | Christian Grothoff <christian@grothoff.org> | 2024-03-28 13:05:45 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2024-03-28 13:05:45 +0100 |
commit | 517876451e1a40ca18a1860fb1fa4088f3e0408c (patch) | |
tree | 87e987d59e0e38e20738776aec98ecd62cc9785d /src/exchangedb/Makefile.am | |
parent | 9310bd13f9437b94fd0885d77b019d49bc674e3c (diff) | |
download | exchange-517876451e1a40ca18a1860fb1fa4088f3e0408c.tar.xz |
update schema to fix broken primary key constraint
Diffstat (limited to 'src/exchangedb/Makefile.am')
-rw-r--r-- | src/exchangedb/Makefile.am | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/exchangedb/Makefile.am b/src/exchangedb/Makefile.am index 45070ac08..d57d690a1 100644 --- a/src/exchangedb/Makefile.am +++ b/src/exchangedb/Makefile.am @@ -19,8 +19,10 @@ sqlinputs = \ procedures.sql.in \ 0002-*.sql \ 0003-*.sql \ + 0004-*.sql \ exchange-0002.sql.in \ - exchange-0003.sql.in + exchange-0003.sql.in \ + exchange-0004.sql.in sql_DATA = \ benchmark-0001.sql \ @@ -29,6 +31,7 @@ sql_DATA = \ exchange-0001.sql \ exchange-0002.sql \ exchange-0003.sql \ + exchange-0004.sql \ drop.sql \ procedures.sql @@ -58,6 +61,11 @@ exchange-0003.sql: exchange-0003.sql.in 0003-*.sql gcc -E -P -undef - < exchange-0003.sql.in 2>/dev/null | sed -e "s/--.*//" | awk 'NF' - >$@ chmod ugo-w $@ +exchange-0004.sql: exchange-0004.sql.in 0004-*.sql + chmod +w $@ || true + gcc -E -P -undef - < exchange-0004.sql.in 2>/dev/null | sed -e "s/--.*//" | awk 'NF' - >$@ + chmod ugo-w $@ + check_SCRIPTS = \ test_idempotency.sh |