Sha256: 163f8a75956cf66d24f04af1c79f3890211830edee4a36153457a32a069001f1

Contents?: true

Size: 1.07 KB

Versions: 80

Compression:

Stored size: 1.07 KB

Contents

CREATE TABLE 'companies' (
  'id' INTEGER PRIMARY KEY NOT NULL,
  'name' TEXT DEFAULT NULL,
  'rating' INTEGER DEFAULT 1
);

CREATE TABLE 'replies' (
  'id' INTEGER PRIMARY KEY NOT NULL, 
  'content' text, 
  'created_at' datetime, 
  'updated_at' datetime, 
  'topic_id' integer,
  'developer_id' integer
);

CREATE TABLE 'topics' (
  'id' INTEGER PRIMARY KEY NOT NULL, 
  'title' varchar(255), 
  'subtitle' varchar(255), 
  'content' text, 
  'created_at' datetime, 
  'updated_at' datetime
);

CREATE TABLE 'developers' (
  'id' INTEGER PRIMARY KEY NOT NULL,
  'name' TEXT DEFAULT NULL,
  'salary' INTEGER DEFAULT 70000,
  'created_at' DATETIME DEFAULT NULL,
  'updated_at' DATETIME DEFAULT NULL
);

CREATE TABLE 'projects' (
  'id' INTEGER PRIMARY KEY NOT NULL,
  'name' TEXT DEFAULT NULL
);

CREATE TABLE 'developers_projects' (
  'developer_id' INTEGER NOT NULL,
  'project_id' INTEGER NOT NULL,
  'joined_on' DATE DEFAULT NULL,
  'access_level' INTEGER DEFAULT 1
);

CREATE TABLE 'mascots' (
  'id' INTEGER PRIMARY KEY NOT NULL, 
  'company_id' INTEGER NOT NULL,
  'name' TEXT DEFAULT NULL
);

Version data entries

80 entries across 80 versions & 16 rubygems

Version Path
actionpack-2.3.18 test/fixtures/db_definitions/sqlite.sql
actionpack_csi-2.3.5.p8 test/fixtures/db_definitions/sqlite.sql
actionpack-2.3.17-rack-upgrade-2.3.17 test/fixtures/db_definitions/sqlite.sql
actionpack-2.3.17 test/fixtures/db_definitions/sqlite.sql
actionpack_csi-2.3.5.p7 test/fixtures/db_definitions/sqlite.sql
actionpack_csi-2.3.5.p6 test/fixtures/db_definitions/sqlite.sql
actionpack-2.3.16 test/fixtures/db_definitions/sqlite.sql
actionpack-rack-upgrade-2-2.3.16 test/fixtures/db_definitions/sqlite.sql
actionpack-rack-upgrade-2-2.3.15 test/fixtures/db_definitions/sqlite.sql
actionpack-2.3.15 test/fixtures/db_definitions/sqlite.sql
actionpack-rack-upgrade-2.3.16 test/fixtures/db_definitions/sqlite.sql
actionpack-rack-upgrade-2.3.15 test/fixtures/db_definitions/sqlite.sql
actionpack-rack-upgrade-2.3.14 test/fixtures/db_definitions/sqlite.sql
radiant-1.0.0 ruby-debug/ruby/1.8/gems/actionpack-2.3.14/test/fixtures/db_definitions/sqlite.sql
vanity-1.7.1 vendor/ruby/1.9.1/gems/actionpack-2.3.12/test/fixtures/db_definitions/sqlite.sql
actionpack-2.3.14 test/fixtures/db_definitions/sqlite.sql
kajam-1.0.3.rc2 vendor/rails/actionpack/test/fixtures/db_definitions/sqlite.sql
actionpack-2.3.12 test/fixtures/db_definitions/sqlite.sql
radiant-1.0.0.rc2 vendor/rails/actionpack/test/fixtures/db_definitions/sqlite.sql
radiant-1.0.0.rc1 vendor/rails/actionpack/test/fixtures/db_definitions/sqlite.sql