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;