From c289364e25be1cb11c5a5f138f3c077e99d81bc5 Mon Sep 17 00:00:00 2001 From: Alexis Hernandez Date: Sun, 11 Nov 2018 11:05:04 -0700 Subject: [PATCH] server: Update the nonce type from blocks table to bigint --- server/conf/evolutions/default/7.sql | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 server/conf/evolutions/default/7.sql diff --git a/server/conf/evolutions/default/7.sql b/server/conf/evolutions/default/7.sql new file mode 100644 index 0000000..4d998da --- /dev/null +++ b/server/conf/evolutions/default/7.sql @@ -0,0 +1,10 @@ + +# --- !Ups + +ALTER TABLE blocks +ALTER COLUMN nonce TYPE BIGINT; + +# --- !Downs + +ALTER TABLE blocks +ALTER COLUMN nonce TYPE INT;