From ae312dfbbaf2c49f3d7b9a5a942a64a73350ce8c Mon Sep 17 00:00:00 2001 From: Alex 'AdUser' Z Date: Sat, 16 Jun 2018 21:15:31 +1000 Subject: [PATCH] + conf/schema.mysql.sql --- conf/schema.mysql.sql | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 conf/schema.mysql.sql diff --git a/conf/schema.mysql.sql b/conf/schema.mysql.sql new file mode 100644 index 0000000..41e31a3 --- /dev/null +++ b/conf/schema.mysql.sql @@ -0,0 +1,8 @@ +CREATE TABLE zerobin ( + id INTEGER AUTO_INCREMENT, + created INT(11) UNSIGNED NOT NULL DEFAULT 0, + expire INT(11) UNSIGNED NOT NULL DEFAULT 0, + syntax VARCHAR(255) DEFAULT 'plaintext', + PRIMARY KEY (id), + UNIQUE KEY zerobin_uniq (created) +) ENGINE=InnoDB;