Sha256: 76d58acfd5ed824a571c815ee2e92a4a81b88f8e7c2c838d98ccad9082b5a3f6

Contents?: true

Size: 1.26 KB

Versions: 11

Compression:

Stored size: 1.26 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,
  'test_attr_id' integer
);

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

CREATE TABLE 'branches' (
  'id' INTEGER PRIMARY KEY NOT NULL,
  'company_id' integer,
  'test_model_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
);

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
ae_declarative_authorization-0.10.1 test/schema.sql
ae_declarative_authorization-0.10.0 test/schema.sql
ae_declarative_authorization-0.9.2 test/schema.sql
ae_declarative_authorization-0.9.1 test/schema.sql
ae_declarative_authorization-0.9.0 test/schema.sql
ae_declarative_authorization-0.8.0 test/schema.sql
ae_declarative_authorization-0.7.0 test/schema.sql
ae_declarative_authorization-0.6.0 test/schema.sql
ae_declarative_authorization-0.6.0.pre3 test/schema.sql
ae_declarative_authorization-0.6.0.pre2 test/schema.sql
ae_declarative_authorization-0.6.0.pre test/schema.sql