From 1daa9ee3cc3dfa059b5ab0953bf9db505b0c1806 Mon Sep 17 00:00:00 2001 From: Alexis Hernandez Date: Sat, 30 Mar 2019 12:45:21 -0700 Subject: [PATCH] server: Remove the TPoS addresses from the transaction_outputs table --- server/conf/evolutions/default/16.sql | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 server/conf/evolutions/default/16.sql diff --git a/server/conf/evolutions/default/16.sql b/server/conf/evolutions/default/16.sql new file mode 100644 index 0000000..08f8d15 --- /dev/null +++ b/server/conf/evolutions/default/16.sql @@ -0,0 +1,13 @@ + +# --- !Ups + +ALTER TABLE transaction_outputs + DROP COLUMN tpos_owner_address, + DROP COLUMN tpos_merchant_address; + + +# --- !Downs + +ALTER TABLE blocks + ADD COLUMN tpos_owner_address ADDRESS_TYPE NULL, + ADD COLUMN tpos_merchant_address ADDRESS_TYPE NULL;