Explorar o código

Update quotes.sql to sqlite

James Seward %!s(int64=8) %!d(string=hai) anos
pai
achega
62d7f5d8b2
Modificáronse 1 ficheiros con 3 adicións e 28 borrados
  1. 3 28
      QuoteEngine/sql/quotes.sql

+ 3 - 28
QuoteEngine/sql/quotes.sql

@@ -1,35 +1,10 @@
--- MySQL dump 10.11
---
--- Host: localhost    Database: quotes
--- ------------------------------------------------------
--- Server version	5.0.90
-
-/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
-/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
-/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
-/*!40101 SET NAMES utf8 */;
-/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
-/*!40103 SET TIME_ZONE='+00:00' */;
-/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
-/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
-/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
-/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
-
---
--- Table structure for table `quotes`
---
-
 DROP TABLE IF EXISTS `quotes`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
 CREATE TABLE `quotes` (
-  `id` bigint(20) NOT NULL auto_increment,
+  `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,
-  PRIMARY KEY  (`id`)
-) ENGINE=MyISAM AUTO_INCREMENT DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
+  `timestamp` bigint(20) default NULL
+);