From 4a8f54dafc7cd357c7a28b99e65012f4d94282c8 Mon Sep 17 00:00:00 2001 From: Paul Gear Date: Sat, 27 Sep 2014 14:49:33 +1000 Subject: [PATCH] Increase API token length to allow for future growth --- sql-schema/034.sql | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 sql-schema/034.sql diff --git a/sql-schema/034.sql b/sql-schema/034.sql new file mode 100644 index 000000000..5958a1aff --- /dev/null +++ b/sql-schema/034.sql @@ -0,0 +1,2 @@ +-- Allow for future use of different tokens - this supports up to SHA-512 +ALTER TABLE `api_tokens` MODIFY `token_hash` VARCHAR(256);