diff ikariam.sql @ 42:0644b53fd3af

updated documents
author "Rex Tsai <chihchun@kalug.linux.org.tw>"
date Fri, 17 Oct 2008 01:33:52 +0800
parents e4b3168d0319
children 34749e907405
line wrap: on
line diff
--- a/ikariam.sql	Fri Oct 17 01:27:10 2008 +0800
+++ b/ikariam.sql	Fri Oct 17 01:33:52 2008 +0800
@@ -5,7 +5,7 @@
  user INTEGER,
  owner TEXT,
  ally TEXT,
- island INTEGER);
+ island INTEGER, "status" CHAR, "time" INTEGER);
 CREATE TABLE "island" (
  id BIGINT PRIMARY KEY UNIQUE,
  x INTEGER,
@@ -13,16 +13,5 @@
  name TEXT,
  tradegood INTEGER,
  wonder INTEGER,
- people INTEGER);
-CREATE TABLE "user" (
-  id INTEGER PRIMARY KEY UNIQUE,
-  name VARCHAR,
-  ally VARCHAR,
-  allyId INTEGER,
-  score INTEGER,
-  building_score_main INTEGER,
-  building_score_secondary INTEGER,
-  research_score_main INTEGER,
-  research_score_secondary INTEGER,
-  army_score_main INTEGER,
-  trader_score_secondary INTEGER);
+ people INTEGER, "time" INTEGER);
+CREATE TABLE "user" ("id" INTEGER PRIMARY KEY ,"name" VARCHAR,"ally" VARCHAR,"allyId" INTEGER,"score" INTEGER,"building_score_main" INTEGER,"building_score_secondary" INTEGER,"research_score_main" INTEGER,"research_score_secondary" INTEGER,"army_score_main" INTEGER,"trader_score_secondary" INTEGER, "time" INTEGER);