From 585978fc17550b67ff1003f6bd3061fcec119469 Mon Sep 17 00:00:00 2001 From: Alexis Hernandez Date: Sun, 30 Dec 2018 14:43:23 -0700 Subject: [PATCH] server: Add index field to transactions table The transaction order from the xsnd must be recoverable when we store the transactions in the database. --- server/conf/evolutions/default/9.sql | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 server/conf/evolutions/default/9.sql diff --git a/server/conf/evolutions/default/9.sql b/server/conf/evolutions/default/9.sql new file mode 100644 index 0000000..b84545a --- /dev/null +++ b/server/conf/evolutions/default/9.sql @@ -0,0 +1,11 @@ + +# --- !Ups + +ALTER TABLE transactions +ADD COLUMN index NON_NEGATIVE_INT_TYPE NULL DEFAULT NULL; + + +# --- !Downs + +ALTER TABLE transactions +DROP COLUMN index;