tmp/test.db in composite_primary_keys-1.0.8 vs tmp/test.db in composite_primary_keys-1.0.10

- old
+ new

@@ -1,97 +1,97 @@ SQLite format 3@ &+$    ##NAME_PREFIXName PrefixGENDERGender MRSMrsFEMALEFemale MSMs MRMrMALEMale  #Product One#Product Two - !2008-08-28d!2008-08-272!2008-08-27 -!2008-08-28!2008-08-27!2008-08-27 --\Gk++ tablereference_typesreference_typesCREATE TABLE reference_types ( - reference_type_id INTEGER PRIMARY KEY, - type_label varchar(50) default NULL, - abbreviation varchar(50) default NULL, - description varchar(50) default NULL -)>++3tablereference_codesreference_codesCREATE TABLE reference_codes ( - reference_type_id int(11) NOT NULL, - reference_code int(11) NOT NULL, - code_label varchar(50) default NULL, - abbreviation varchar(50) default NULL, - description varchar(50) default NULL, - PRIMARY KEY (reference_type_id,reference_code) -)=Q+indexsqlite_autoindex_reference_codes_1reference_codesyEtableproductsproductsCREATE TABLE products ( - id int(11) NOT NULL PRIMARY KEY, - name varchar(50) default NULL -)/Cindexsqlite_autoindex_products_1products6CtabletariffstariffsCREATE TABLE tariffs ( - tariff_id int(11) NOT NULL, - start_date date NOT NULL, - amount integer(11) default NULL, - PRIMARY KEY (tariff_id,start_date) -) BBqWFu2-Aindexsqlite_autoindex_tariffs_1tariffsc++}tableproduct_tariffsproduct_tariffs CREATE TABLE product_tariffs ( - product_id int(11) NOT NULL, - tariff_id int(11) NOT NULL, - tariff_start_date date NOT NULL, - PRIMARY KEY (product_id,tariff_id,tariff_start_date) -)= Q+indexsqlite_autoindex_product_tariffs_1product_tariffs - -1tablesuburbssuburbs CREATE TABLE suburbs ( - city_id int(11) NOT NULL, - suburb_id int(11) NOT NULL, - name varchar(50) NOT NULL, - PRIMARY KEY (city_id,suburb_id) -)- Aindexsqlite_autoindex_suburbs_1suburbs: KtablestreetsstreetsCREATE TABLE streets ( - id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, - city_id int(11) NOT NULL, - suburb_id int(11) NOT NULL, - name varchar(50) NOT NULL -)P ++Ytablesqlite_sequencesqlite_sequenceCREATE TABLE sqlite_sequence(name,seq)zStableusersusersCREATE TABLE users ( - id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, - name varchar(50) NOT NULL -) !2008-08-27!2008-08-27!2008-08-27 -!2008-08-27!2008-08-27!2008-08-27 %First Suburb'Second Suburb + !2008-10-23d!2008-10-222!2008-10-22 +!2008-10-23!2008-10-22!2008-10-22  P?s++tablereference_typesreference_typesCREATE TABLE reference_types ( + reference_type_id integer primary key, + type_label varchar(50) default null, + abbreviation varchar(50) default null, + description varchar(50) default null +)A++9tablereference_codesreference_codesCREATE TABLE reference_codes ( + reference_type_id int(11), + reference_code int(11) not null, + code_label varchar(50) default null, + abbreviation varchar(50) default null, + description varchar(50) default null, + primary key (reference_type_id, reference_code) +)=Q+indexsqlite_autoindex_reference_codes_1reference_codes}MtableproductsproductsCREATE TABLE products ( + id int(11) not null primary key, + name varchar(50) default null +)/Cindexsqlite_autoindex_products_1products>StabletariffstariffsCREATE TABLE tariffs ( + tariff_id int(11) not null, + start_date date not null, + amount integer(11) default null, + primary key (tariff_id, start_date) +) %%TC:i.-Aindexsqlite_autoindex_tariffs_1tariffsl++tableproduct_tariffsproduct_tariffs CREATE TABLE product_tariffs ( + product_id int(11) not null, + tariff_id int(11) not null, + tariff_start_date date not null, + primary key (product_id, tariff_id, tariff_start_date) +)= Q+indexsqlite_autoindex_product_tariffs_1product_tariffs 5 +Atablesuburbssuburbs CREATE TABLE suburbs ( + city_id int(11) not null, + suburb_id int(11) not null, + name varchar(50) not null, + primary key (city_id, suburb_id) +)- Aindexsqlite_autoindex_suburbs_1suburbsB [tablestreetsstreetsCREATE TABLE streets ( + id integer not null primary key autoincrement, + city_id int(11) not null, + suburb_id int(11) not null, + name varchar(50) not null +)P ++Ytablesqlite_sequencesqlite_sequenceCREATE TABLE sqlite_sequence(name,seq)~[tableusersusersCREATE TABLE users ( + id integer not null primary key autoincrement, + name varchar(50) not null +) !2008-10-22!2008-10-22!2008-10-22 +!2008-10-22!2008-10-22!2008-10-22 %First Suburb'Second Suburb  %First Street'Second Street%First Street \u\ 3membership_statuses -groups comments employees readings users students+room_attributes dorms streets articles  Dr Nic Santiago #Article One#Article Two ['YtablearticlesarticlesCREATE TABLE articles ( - id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, - name varchar(50) NOT NULL -)<KtablereadingsreadingsCREATE TABLE readings ( - id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, - user_id int(11) NOT NULL, - article_id int(11) NOT NULL, - rating int(11) NOT NULL -)}UtablegroupsgroupsCREATE TABLE groups ( - id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, - name varchar(50) NOT NULL -)##ktablemembershipsmembershipsCREATE TABLE memberships ( - user_id int NOT NULL, - group_id int NOT NULL, - PRIMARY KEY (user_id,group_id) -)5I#indexsqlite_autoindex_memberships_1membershipsV33Stablemembership_statusesmembership_statusesCREATE TABLE membership_statuses ( - id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, - user_id int NOT NULL, - group_id int NOT NULL, - status varchar(50) NOT NULL +groups comments employees readings users students+room_attributes dorms streets articles  Dr Nic Santiago #Article One#Article Two zzO!atablearticlesarticlesCREATE TABLE articles ( + id integer not null primary key autoincrement, + name varchar(50) not null +)D[tablereadingsreadingsCREATE TABLE readings ( + id integer not null primary key autoincrement, + user_id int(11) not null, + article_id int(11) not null, + rating int(11) not null +)]tablegroupsgroupsCREATE TABLE groups ( + id integer not null primary key autoincrement, + name varchar(50) not null +)##wtablemembershipsmembershipsCREATE TABLE memberships ( + user_id int not null, + group_id int not null, + primary key (user_id, group_id) +)5I#indexsqlite_autoindex_memberships_1memberships\33_tablemembership_statusesmembership_statusesCREATE TABLE membership_statuses ( + id integer not null primary key autoincrement, + user_id int not null, + group_id int not null, + status varchar(50) not null )  9Composite Primary Keys    Active Owner  - ||+bH,##tabledepartmentsdepartmentsCREATE TABLE departments ( - department_id INTEGER NOT NULL, - location_id INTEGER NOT NULL, - PRIMARY KEY (department_id, location_id) -)5I#indexsqlite_autoindex_departments_1departments tableemployeesemployeesCREATE TABLE employees ( - id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, - department_id INTEGER NULL, - location_id INTEGER NULL + jjVH2##+tabledepartmentsdepartmentsCREATE TABLE departments ( + department_id integer not null, + location_id integer not null, + primary key (department_id, location_id) +)5I#indexsqlite_autoindex_departments_1departments)!tableemployeesemployeesCREATE TABLE employees ( + id integer not null primary key autoincrement, + department_id integer null, + location_id integer null )?QtablecommentscommentsCREATE TABLE comments ( - id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, - person_id varchar(100) NULL, - person_type varchar(100) NULL, - hack_id varchar(100) NULL -)TtablehackshacksCREATE TABLE hacks ( - name varchar(50) NOT NULL PRIMARY KEY + id integer not null primary key autoincrement, + person_id varchar(100) null, + person_type varchar(100) null, + hack_id varchar(100) null +)W tablehackshacksCREATE TABLE hacks ( + name varchar(50) not null primary key ))=indexsqlite_autoindex_hacks_1hacks5'')tablekitchen_sinkskitchen_sinks CREATE TABLE kitchen_sinks ( id_1 integer not null, id_2 integer not null, a_date date, a_string varchar(100), primary key (id_1, id_2) )  andrewHack1Userandrew1Employee andrew  -andrew !2008-08-27string +andrew !2008-10-22string  McDonalds  9M'indexsqlite_autoindex_kitchen_sinks_1kitchen_sinks!5##1tablerestaurantsrestaurants"CREATE TABLE restaurants ( franchise_id integer not null, store_id integer not null, name varchar(100), \ No newline at end of file