view ikariam.sql @ 45:4d59ba5905f6

addressed the modules you need to install
author "Rex Tsai <chihchun@kalug.linux.org.tw>"
date Fri, 17 Oct 2008 12:55:59 +0800
parents 0644b53fd3af
children 34749e907405
line wrap: on
line source

CREATE TABLE cities (
 cityId INTEGER PRIMARY KEY UNIQUE,
 citylevel INTEGER,
 cityname TEXT,
 user INTEGER,
 owner TEXT,
 ally TEXT,
 island INTEGER, "status" CHAR, "time" INTEGER);
CREATE TABLE "island" (
 id BIGINT PRIMARY KEY UNIQUE,
 x INTEGER,
 y INTEGER,
 name TEXT,
 tradegood INTEGER,
 wonder 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);