Browse Source

Fix mysql schema to allow string after encoding

This commit fixes the mysql schema to fit the max allowed secret
string size to be stored after encoding.
master
Blaine Motsinger 7 months ago
parent
commit
fe76c78ac0
  1. 2
      db/schema/schema.mysql

2
db/schema/schema.mysql

@ -1,6 +1,6 @@
CREATE TABLE IF NOT EXISTS `secrets` (
id CHAR(64) NOT NULL,
passphrase VARCHAR(223) NOT NULL,
secret VARCHAR(749) NOT NULL,
secret VARCHAR(770) NOT NULL,
created_at INT(10) SIGNED NOT NULL
);

Loading…
Cancel
Save