Explorar o código

Add sqlite schema file

James Seward %!s(int64=6) %!d(string=hai) anos
pai
achega
c3c82bcc9a
Modificáronse 1 ficheiros con 9 adicións e 0 borrados
  1. 9 0
      QuoteEngine/sql/quotes-sqlite.sql

+ 9 - 0
QuoteEngine/sql/quotes-sqlite.sql

@@ -0,0 +1,9 @@
+DROP TABLE IF EXISTS `quotes`;
+CREATE TABLE `quotes` (
+  `id` INTEGER PRIMARY KEY,
+  `nick` varchar(20) NOT NULL default '',
+  `host` varchar(100) NOT NULL default '',
+  `quote` text NOT NULL,
+  `channel` varchar(50) NOT NULL default '',
+  `timestamp` bigint(20) default NULL
+);