Sha256: 1eb2d9a1a697ebda9dec463e9c7248392dcbb34419ce820365056339ada8325b

Contents?: true

Size: 1.15 KB

Versions: 18

Compression:

Stored size: 1.15 KB

Contents

CREATE TABLE 'test_models' (
  'id' INTEGER PRIMARY KEY NOT NULL,
  'test_attr_through_id' INTEGER,
  'content' text,
  'country_id' integer,
  'created_at' datetime, 
  'updated_at' datetime
);

CREATE TABLE 'test_attrs' (
  'id' INTEGER PRIMARY KEY NOT NULL, 
  'test_model_id' integer,
  'test_another_model_id' integer,
  'test_a_third_model_id' integer,
  'branch_id' integer,
  'company_id' integer,
  'test_attr_through_id' INTEGER,
  'n_way_join_item_id' INTEGER,
  'test_model_security_model_id' integer,
  'attr' integer default 1
);

CREATE TABLE 'test_attr_throughs' (
  'id' INTEGER PRIMARY KEY NOT NULL, 
  'test_attr_id' integer
);

CREATE TABLE 'test_model_security_models' (
  'id' INTEGER PRIMARY KEY NOT NULL, 
  'attr' integer default 1, 
  'attr_2' integer default 1
);

CREATE TABLE 'n_way_join_items' (
  'id' INTEGER PRIMARY KEY NOT NULL
);

CREATE TABLE 'branches' (
  'id' INTEGER PRIMARY KEY NOT NULL,
  'company_id' integer,
  'name' text
);

CREATE TABLE 'companies' (
  'id' INTEGER PRIMARY KEY NOT NULL,
  'country_id' integer,
  'type' text,
  'name' text
);

CREATE TABLE 'countries' (
  'id' INTEGER PRIMARY KEY NOT NULL,
  'name' text
);

Version data entries

18 entries across 18 versions & 7 rubygems

Version Path
uhees-declarative_authorization-0.3.2.2.1 test/schema.sql
declarative_authorization-0.5.2 test/schema.sql
declarative_authorization-0.5.1 test/schema.sql
declarative_authorization-0.5 test/schema.sql
timcharper-declarative_authorization-0.4.1.6 test/schema.sql
timcharper-declarative_authorization-0.4.1.5 test/schema.sql
timcharper-declarative_authorization-0.4.1.4 test/schema.sql
timcharper-declarative_authorization-0.4.1.3 test/schema.sql
tarsolya-declarative_authorization-0.4.1.2 test/schema.sql
tarsolya-declarative_authorization-0.4.1 test/schema.sql
timcharper-declarative_authorization-0.4.1.2 test/schema.sql
declarative_authorization-0.4.1 test/schema.sql
declarative_authorization-0.4 test/schema.sql
ghart-declarative_authorization-0.3.2.4 test/schema.sql
mconnell-declarative_authorization-0.3.2.3 test/schema.sql
viva-declarative_authorization-0.3.2.3.1 test/schema.sql
viva-declarative_authorization-0.3.2.2.1 test/schema.sql
declarative_authorization-0.3.2.3 test/schema.sql