rails_sql_views4 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +3 -0
- data/Rakefile +121 -0
- data/lib/active_record/view.rb +80 -0
- data/lib/core_ext/module.rb +13 -0
- data/lib/rails_sql_views4/connection_adapters/abstract/schema_definitions.rb +63 -0
- data/lib/rails_sql_views4/connection_adapters/abstract/schema_statements.rb +85 -0
- data/lib/rails_sql_views4/connection_adapters/abstract_adapter.rb +41 -0
- data/lib/rails_sql_views4/connection_adapters/mysql2_adapter.rb +66 -0
- data/lib/rails_sql_views4/connection_adapters/mysql_adapter.rb +66 -0
- data/lib/rails_sql_views4/connection_adapters/oci_adapter.rb +33 -0
- data/lib/rails_sql_views4/connection_adapters/oracle_adapter.rb +33 -0
- data/lib/rails_sql_views4/connection_adapters/oracleenhanced_adapter.rb +39 -0
- data/lib/rails_sql_views4/connection_adapters/oracleenhanced_adapter.rb.orig +72 -0
- data/lib/rails_sql_views4/connection_adapters/postgresql_adapter.rb +69 -0
- data/lib/rails_sql_views4/connection_adapters/postgresql_adapter.rb.orig +69 -0
- data/lib/rails_sql_views4/connection_adapters/sqlite3_adapter.rb +68 -0
- data/lib/rails_sql_views4/connection_adapters/sqlite_adapter.rb +68 -0
- data/lib/rails_sql_views4/connection_adapters/sqlserver_adapter.rb +43 -0
- data/lib/rails_sql_views4/loader.rb +18 -0
- data/lib/rails_sql_views4/schema_dumper.rb +114 -0
- data/lib/rails_sql_views4/version.rb +3 -0
- data/lib/rails_sql_views4.rb +28 -0
- data/lib/tasks/rails_sql_views4_tasks.rake +4 -0
- data/test/README.NOT_UP_TO_DATE +63 -0
- data/test/adapter_test.rb +93 -0
- data/test/connection/native_mysql/connection.rb +32 -0
- data/test/connection/native_mysql/schema.sql +34 -0
- data/test/connection/native_postgresql/connection.rb +31 -0
- data/test/connection/native_postgresql/schema.sql +33 -0
- data/test/connection/oracle_enhanced/connection.rb +29 -0
- data/test/connection/oracle_enhanced/procedures.sql +15 -0
- data/test/connection/oracle_enhanced/schema.sql +39 -0
- data/test/connection.example.yml +12 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/javascripts/application.js +13 -0
- data/test/dummy/app/assets/stylesheets/application.css +15 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/models/item.rb +4 -0
- data/test/dummy/app/models/person.rb +5 -0
- data/test/dummy/app/models/person2.rb +4 -0
- data/test/dummy/app/models/place.rb +2 -0
- data/test/dummy/app/models/v_person.rb +8 -0
- data/test/dummy/app/models/v_profile.rb +3 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/config/application.rb +23 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +37 -0
- data/test/dummy/config/environments/production.rb +78 -0
- data/test/dummy/config/environments/test.rb +39 -0
- data/test/dummy/config/initializers/assets.rb +8 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +56 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20141228200436_create_people.rb +10 -0
- data/test/dummy/db/migrate/20141228200437_create_people2.rb +11 -0
- data/test/dummy/db/migrate/20141228200438_create_places.rb +12 -0
- data/test/dummy/db/migrate/20141228200439_create_items.rb +8 -0
- data/test/dummy/db/migrate/20141228200440_create_items_people.rb +9 -0
- data/test/dummy/db/schema.rb +53 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +439 -0
- data/test/dummy/log/test.log +29320 -0
- data/test/dummy/public/404.html +67 -0
- data/test/dummy/public/422.html +67 -0
- data/test/dummy/public/500.html +66 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/test/fixtures/persons.yml +7 -0
- data/test/dummy/test/models/person_test.rb +7 -0
- data/test/rails_sql_views4_test.rb +11 -0
- data/test/schema.native_mysql.expected.rb +51 -0
- data/test/schema.native_postgresql.expected.rb +51 -0
- data/test/schema.native_postgresql.out.rb +69 -0
- data/test/schema.oracle_enhanced.expected.rb +51 -0
- data/test/schema_dumper_test.rb +134 -0
- data/test/test_helper.rb +41 -0
- data/test/test_helper.rb.old +30 -0
- data/test/view_model_test.rb +68 -0
- data/test/view_operations_test.rb +50 -0
- metadata +225 -0
@@ -0,0 +1,439 @@
|
|
1
|
+
[1m[36m (1.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
2
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
3
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
4
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
5
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6
|
+
Migrating to CreatePersonns (20141229111027)
|
7
|
+
[1m[35m (0.1ms)[0m begin transaction
|
8
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "personns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
9
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141229111027"]]
|
10
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
11
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
12
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
13
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
14
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
15
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
16
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
17
|
+
Migrating to CreatePeople (20141228200436)
|
18
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "ssn" varchar(255), "adresss_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
20
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200436"]]
|
21
|
+
[1m[36m (1.5ms)[0m [1mcommit transaction[0m
|
22
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
23
|
+
[1m[36m (0.2ms)[0m [1m SELECT name
|
24
|
+
FROM sqlite_master
|
25
|
+
WHERE (type = 'table') AND NOT name = 'sqlite_sequence'
|
26
|
+
[0m
|
27
|
+
Unable to dump views: uninitialized constant RailsSqlViews4::SchemaDumper::RailsSqlViews44
|
28
|
+
[1m[36m (1.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
29
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
30
|
+
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
31
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
32
|
+
Migrating to CreatePeople (20141228200436)
|
33
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "ssn" varchar(255), "adresss_id" integer, "created_at" datetime, "updated_at" datetime)
|
35
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141228200436"]]
|
36
|
+
[1m[35m (0.9ms)[0m commit transaction
|
37
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
38
|
+
[1m[35m (0.1ms)[0m SELECT name
|
39
|
+
FROM sqlite_master
|
40
|
+
WHERE (type = 'table') AND NOT name = 'sqlite_sequence'
|
41
|
+
|
42
|
+
Unable to dump views: uninitialized constant RailsSqlViews4::SchemaDumper::RailsSqlViews44
|
43
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
44
|
+
Migrating to CreatePeople2 (20141228200437)
|
45
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "people2" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "ssn" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
47
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200437"]]
|
48
|
+
[1m[36m (1.6ms)[0m [1mcommit transaction[0m
|
49
|
+
Migrating to CreatePlaces (20141228200438)
|
50
|
+
[1m[35m (0.1ms)[0m begin transaction
|
51
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "places" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address" text, "city" varchar(255), "cstate" varchar(255), "country" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
52
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200438"]]
|
53
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
54
|
+
Migrating to CreateItems (20141228200439)
|
55
|
+
[1m[35m (0.1ms)[0m begin transaction
|
56
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "person_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
57
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200439"]]
|
58
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
59
|
+
Migrating to CreateItemsPeople (20141228200440)
|
60
|
+
[1m[35m (0.1ms)[0m begin transaction
|
61
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "items_people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "person_id" integer, "item_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
62
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200440"]]
|
63
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
64
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
65
|
+
[1m[36m (0.2ms)[0m [1m SELECT name
|
66
|
+
FROM sqlite_master
|
67
|
+
WHERE (type = 'table') AND NOT name = 'sqlite_sequence'
|
68
|
+
[0m
|
69
|
+
Unable to dump views: uninitialized constant RailsSqlViews4::SchemaDumper::RailsSqlViews44
|
70
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
71
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
72
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
73
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
74
|
+
Migrating to CreatePeople (20141228200436)
|
75
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
76
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "ssn" varchar(255), "addresss_id" integer, "created_at" datetime, "updated_at" datetime)
|
77
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141228200436"]]
|
78
|
+
[1m[35m (0.8ms)[0m commit transaction
|
79
|
+
Migrating to CreatePeople2 (20141228200437)
|
80
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
81
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "people2" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "ssn" varchar(255), "created_at" datetime, "updated_at" datetime)
|
82
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141228200437"]]
|
83
|
+
[1m[35m (0.7ms)[0m commit transaction
|
84
|
+
Migrating to CreatePlaces (20141228200438)
|
85
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
86
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "places" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address" text, "city" varchar(255), "cstate" varchar(255), "country" varchar(255), "created_at" datetime, "updated_at" datetime)
|
87
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141228200438"]]
|
88
|
+
[1m[35m (0.7ms)[0m commit transaction
|
89
|
+
Migrating to CreateItems (20141228200439)
|
90
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
91
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "person_id" integer, "created_at" datetime, "updated_at" datetime)
|
92
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141228200439"]]
|
93
|
+
[1m[35m (0.8ms)[0m commit transaction
|
94
|
+
Migrating to CreateItemsPeople (20141228200440)
|
95
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
96
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "items_people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "person_id" integer, "item_id" integer, "created_at" datetime, "updated_at" datetime)
|
97
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141228200440"]]
|
98
|
+
[1m[35m (0.7ms)[0m commit transaction
|
99
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
100
|
+
[1m[35m (0.1ms)[0m SELECT name
|
101
|
+
FROM sqlite_master
|
102
|
+
WHERE (type = 'table') AND NOT name = 'sqlite_sequence'
|
103
|
+
|
104
|
+
Unable to dump views: uninitialized constant RailsSqlViews4::SchemaDumper::RailsSqlViews44
|
105
|
+
[1m[36m (1.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
106
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
107
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
108
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
109
|
+
Migrating to CreatePeople (20141228200436)
|
110
|
+
[1m[36m (1.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
111
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
112
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
113
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
114
|
+
Migrating to CreatePeople (20141228200436)
|
115
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
116
|
+
Migrating to CreatePeople (20141228200436)
|
117
|
+
[1m[35m (0.0ms)[0m begin transaction
|
118
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "ssn" varchar(255), "address_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
119
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200436"]]
|
120
|
+
[1m[36m (1.6ms)[0m [1mcommit transaction[0m
|
121
|
+
Migrating to CreatePeople2 (20141228200437)
|
122
|
+
[1m[35m (0.1ms)[0m begin transaction
|
123
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "people2" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "ssn" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
124
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200437"]]
|
125
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
126
|
+
Migrating to CreatePlaces (20141228200438)
|
127
|
+
[1m[35m (0.1ms)[0m begin transaction
|
128
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "places" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address" text, "city" varchar(255), "cstate" varchar(255), "country" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
129
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200438"]]
|
130
|
+
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
131
|
+
Migrating to CreateItems (20141228200439)
|
132
|
+
[1m[35m (0.1ms)[0m begin transaction
|
133
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "person_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
134
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200439"]]
|
135
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
136
|
+
Migrating to CreateItemsPeople (20141228200440)
|
137
|
+
[1m[35m (0.1ms)[0m begin transaction
|
138
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "items_people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "person_id" integer, "item_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
139
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200440"]]
|
140
|
+
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
141
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
142
|
+
[1m[36m (0.2ms)[0m [1m SELECT name
|
143
|
+
FROM sqlite_master
|
144
|
+
WHERE (type = 'table') AND NOT name = 'sqlite_sequence'
|
145
|
+
[0m
|
146
|
+
Unable to dump views: uninitialized constant RailsSqlViews4::SchemaDumper::RailsSqlViews44
|
147
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
148
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "places" ("address", "created_at", "updated_at") VALUES (?, ?, ?) [["address", "my adress"], ["created_at", "2014-12-29 13:40:57.074522"], ["updated_at", "2014-12-29 13:40:57.074522"]]
|
149
|
+
[1m[36m (1.6ms)[0m [1mcommit transaction[0m
|
150
|
+
[1m[35m (0.1ms)[0m begin transaction
|
151
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "people" ("created_at", "first_name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-12-29 13:42:04.717661"], ["first_name", "laurent"], ["updated_at", "2014-12-29 13:42:04.717661"]]
|
152
|
+
[1m[35m (1.2ms)[0m commit transaction
|
153
|
+
[1m[36m (0.3ms)[0m [1mDROP VIEW "v_people"[0m
|
154
|
+
SQLite3::SQLException: no such view: v_people: DROP VIEW "v_people"
|
155
|
+
[1m[35m (1.8ms)[0m CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people
|
156
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
157
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "places" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-29 13:44:04.742173"], ["updated_at", "2014-12-29 13:44:04.742173"]]
|
158
|
+
[1m[36m (1.4ms)[0m [1mcommit transaction[0m
|
159
|
+
[1m[35m (0.1ms)[0m begin transaction
|
160
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "people" ("address_id", "created_at", "first_name", "updated_at") VALUES (?, ?, ?, ?)[0m [["address_id", 2], ["created_at", "2014-12-29 13:44:20.287995"], ["first_name", "Primus"], ["updated_at", "2014-12-29 13:44:20.287995"]]
|
161
|
+
[1m[35m (0.5ms)[0m commit transaction
|
162
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
163
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "items" ("created_at", "person_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-29 13:44:20.303974"], ["person_id", 2], ["updated_at", "2014-12-29 13:44:20.303974"]]
|
164
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
165
|
+
[1m[35m (0.0ms)[0m begin transaction
|
166
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "items" ("created_at", "person_id", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-12-29 13:44:20.306042"], ["person_id", 2], ["updated_at", "2014-12-29 13:44:20.306042"]]
|
167
|
+
[1m[35m (0.5ms)[0m commit transaction
|
168
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
169
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "items" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-29 13:44:20.308846"], ["updated_at", "2014-12-29 13:44:20.308846"]]
|
170
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
171
|
+
[1m[35m (0.0ms)[0m begin transaction
|
172
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "items" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-12-29 13:44:20.310327"], ["updated_at", "2014-12-29 13:44:20.310327"]]
|
173
|
+
[1m[35m (0.5ms)[0m commit transaction
|
174
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
175
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "items" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-29 13:44:20.311734"], ["updated_at", "2014-12-29 13:44:20.311734"]]
|
176
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
177
|
+
[1m[35m (0.0ms)[0m begin transaction
|
178
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "items_people" ("created_at", "item_id", "person_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-12-29 13:44:20.321001"], ["item_id", 3], ["person_id", 2], ["updated_at", "2014-12-29 13:44:20.321001"]]
|
179
|
+
[1m[35m (0.5ms)[0m commit transaction
|
180
|
+
[1m[36mItem Load (0.2ms)[0m [1mSELECT "items".* FROM "items" INNER JOIN "items_people" ON "items"."id" = "items_people"."item_id" WHERE "items_people"."person_id" = ?[0m [["person_id", 2]]
|
181
|
+
[1m[35m (0.0ms)[0m begin transaction
|
182
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "items_people" ("created_at", "item_id", "person_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-12-29 13:44:20.330610"], ["item_id", 5], ["person_id", 2], ["updated_at", "2014-12-29 13:44:20.330610"]]
|
183
|
+
[1m[35m (0.6ms)[0m commit transaction
|
184
|
+
[1m[36mVPerson Load (0.3ms)[0m [1mSELECT "v_people".* FROM "v_people" WHERE "v_people"."id" = ? LIMIT 1[0m [["id", 2]]
|
185
|
+
[1m[35mItem Load (0.2ms)[0m SELECT "items".* FROM "items" WHERE "items"."person_id" = ? [["person_id", 2]]
|
186
|
+
[1m[36mPlace Load (0.3ms)[0m [1mSELECT "places".* FROM "places" WHERE "places"."id" = ? LIMIT 1[0m [["id", 2]]
|
187
|
+
[1m[36m (2.3ms)[0m [1mDROP VIEW "v_people"[0m
|
188
|
+
[1m[35m (1.2ms)[0m CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people
|
189
|
+
[1m[36m (1.6ms)[0m [1mDROP VIEW "v_people"[0m
|
190
|
+
[1m[35m (1.2ms)[0m CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people
|
191
|
+
[1m[36m (1.6ms)[0m [1mDROP VIEW "v_people"[0m
|
192
|
+
[1m[35m (1.3ms)[0m CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people
|
193
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
194
|
+
[1m[35m (0.2ms)[0m SELECT name
|
195
|
+
FROM sqlite_master
|
196
|
+
WHERE (type = 'table') AND NOT name = 'sqlite_sequence'
|
197
|
+
|
198
|
+
Unable to dump views: uninitialized constant RailsSqlViews4::SchemaDumper::RailsSqlViews44
|
199
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
200
|
+
[1m[35m (0.4ms)[0m SELECT name
|
201
|
+
FROM sqlite_master
|
202
|
+
WHERE (type = 'table') AND NOT name = 'sqlite_sequence'
|
203
|
+
|
204
|
+
Unable to dump views: uninitialized constant RailsSqlViews4::SchemaDumper::RailsSqlViews44
|
205
|
+
[1m[36mVPerson Load (0.3ms)[0m [1mSELECT "v_people".* FROM "v_people" ORDER BY "v_people"."id" ASC LIMIT 1[0m
|
206
|
+
[1m[35mPerson Load (0.1ms)[0m SELECT "people".* FROM "people" ORDER BY "people"."id" ASC LIMIT 1
|
207
|
+
[1m[36mVPerson Load (0.2ms)[0m [1mSELECT "v_people".* FROM "v_people" ORDER BY "v_people"."id" ASC LIMIT 1[0m
|
208
|
+
[1m[35m (1.7ms)[0m DROP VIEW "v_people"
|
209
|
+
[1m[36m (3.7ms)[0m [1mCREATE VIEW "v_people" AS select first_name, last_name, ssn from people[0m
|
210
|
+
[1m[35mVPerson Load (0.3ms)[0m SELECT "v_people".* FROM "v_people" ORDER BY "v_people"."id" ASC LIMIT 1
|
211
|
+
SQLite3::SQLException: no such column: v_people.id: SELECT "v_people".* FROM "v_people" ORDER BY "v_people"."id" ASC LIMIT 1
|
212
|
+
[1m[36mVPerson Load (0.2ms)[0m [1mSELECT "v_people".* FROM "v_people" ORDER BY "v_people"."id" ASC LIMIT 1[0m
|
213
|
+
SQLite3::SQLException: no such column: v_people.id: SELECT "v_people".* FROM "v_people" ORDER BY "v_people"."id" ASC LIMIT 1
|
214
|
+
[1m[36m (1.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
215
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
216
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
217
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
218
|
+
Migrating to CreatePeople (20141228200436)
|
219
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
220
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "ssn" varchar(255), "address_id" integer)
|
221
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141228200436"]]
|
222
|
+
[1m[35m (0.9ms)[0m commit transaction
|
223
|
+
Migrating to CreatePeople2 (20141228200437)
|
224
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
225
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "people2" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "ssn" varchar(255), "created_at" datetime, "updated_at" datetime)
|
226
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141228200437"]]
|
227
|
+
[1m[35m (1.0ms)[0m commit transaction
|
228
|
+
Migrating to CreatePlaces (20141228200438)
|
229
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
230
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "places" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address" text, "city" varchar(255), "cstate" varchar(255), "country" varchar(255), "created_at" datetime, "updated_at" datetime)
|
231
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141228200438"]]
|
232
|
+
[1m[35m (0.9ms)[0m commit transaction
|
233
|
+
Migrating to CreateItems (20141228200439)
|
234
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
235
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "person_id" integer, "created_at" datetime, "updated_at" datetime)
|
236
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141228200439"]]
|
237
|
+
[1m[35m (0.8ms)[0m commit transaction
|
238
|
+
Migrating to CreateItemsPeople (20141228200440)
|
239
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
240
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "items_people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "person_id" integer, "item_id" integer, "created_at" datetime, "updated_at" datetime)
|
241
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141228200440"]]
|
242
|
+
[1m[35m (0.8ms)[0m commit transaction
|
243
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
244
|
+
[1m[35m (0.2ms)[0m SELECT name
|
245
|
+
FROM sqlite_master
|
246
|
+
WHERE (type = 'table') AND NOT name = 'sqlite_sequence'
|
247
|
+
|
248
|
+
Unable to dump views: undefined method `module' for #<ActiveRecord::ConnectionAdapters::SQLite3Adapter:0x007f9a072094c0>
|
249
|
+
[1m[36m (0.5ms)[0m [1mDROP VIEW "v_people"[0m
|
250
|
+
SQLite3::SQLException: no such view: v_people: DROP VIEW "v_people"
|
251
|
+
[1m[35m (5.3ms)[0m CREATE VIEW "v_people" AS select id, first_name, last_name, ssn from people
|
252
|
+
[1m[36mVPerson Load (0.1ms)[0m [1mSELECT "v_people".* FROM "v_people" ORDER BY "v_people"."id" ASC LIMIT 1[0m
|
253
|
+
[1m[35mVPerson Load (0.2ms)[0m SELECT "v_people".* FROM "v_people" ORDER BY "v_people"."id" ASC LIMIT 1
|
254
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
255
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "people" ("first_name", "last_name", "ssn") VALUES (?, ?, ?) [["first_name", "John"], ["last_name", "Doe"], ["ssn", "123456789"]]
|
256
|
+
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
257
|
+
[1m[35mPerson Load (0.2ms)[0m SELECT "people".* FROM "people" ORDER BY "people"."id" ASC LIMIT 1
|
258
|
+
[1m[36mVPerson Load (0.2ms)[0m [1mSELECT "v_people".* FROM "v_people" ORDER BY "v_people"."id" ASC LIMIT 1[0m
|
259
|
+
[1m[35m (1.6ms)[0m DROP VIEW "v_people"
|
260
|
+
[1m[36m (1.1ms)[0m [1mCREATE VIEW "v_people" AS select id, first_name, last_name, ssn from people[0m
|
261
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
262
|
+
[1m[36m (0.2ms)[0m [1m SELECT name
|
263
|
+
FROM sqlite_master
|
264
|
+
WHERE (type = 'table') AND NOT name = 'sqlite_sequence'
|
265
|
+
[0m
|
266
|
+
Unable to dump views: undefined method `module' for #<ActiveRecord::ConnectionAdapters::SQLite3Adapter:0x007fa150962078>
|
267
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
268
|
+
[1m[35m (0.2ms)[0m SELECT name
|
269
|
+
FROM sqlite_master
|
270
|
+
WHERE (type = 'table') AND NOT name = 'sqlite_sequence'
|
271
|
+
|
272
|
+
[1m[36m (0.1ms)[0m [1m SELECT name
|
273
|
+
FROM sqlite_master
|
274
|
+
WHERE type = 'view' AND NOT name = 'sqlite_sequence'
|
275
|
+
[0m
|
276
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
277
|
+
FROM sqlite_master
|
278
|
+
WHERE name = 'v_people' AND NOT name = 'sqlite_sequence'
|
279
|
+
|
280
|
+
[1m[36mPerson Load (0.1ms)[0m [1mSELECT "people".* FROM "people" ORDER BY "people"."id" ASC LIMIT 1[0m
|
281
|
+
[1m[35mVPerson Load (0.2ms)[0m SELECT "v_people".* FROM "v_people" ORDER BY "v_people"."id" ASC LIMIT 1
|
282
|
+
[1m[36mVPerson Load (0.2ms)[0m [1mSELECT "v_people".* FROM "v_people" ORDER BY "v_people"."id" ASC LIMIT 1[0m
|
283
|
+
[1m[36mPerson Load (0.2ms)[0m [1mSELECT "people".* FROM "people" ORDER BY "people"."id" ASC LIMIT 1[0m
|
284
|
+
[1m[35mPerson Load (0.3ms)[0m SELECT "people".* FROM "people" ORDER BY "people"."id" ASC LIMIT 1
|
285
|
+
[1m[36mVPerson Load (0.2ms)[0m [1mSELECT "v_people".* FROM "v_people" ORDER BY "v_people"."id" ASC LIMIT 1[0m
|
286
|
+
[1m[36m (1.9ms)[0m [1mDROP VIEW "v_people"[0m
|
287
|
+
[1m[35m (1.0ms)[0m CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people
|
288
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
289
|
+
[1m[35m (0.1ms)[0m SELECT name
|
290
|
+
FROM sqlite_master
|
291
|
+
WHERE (type = 'table') AND NOT name = 'sqlite_sequence'
|
292
|
+
|
293
|
+
[1m[36m (0.1ms)[0m [1m SELECT name
|
294
|
+
FROM sqlite_master
|
295
|
+
WHERE type = 'view' AND NOT name = 'sqlite_sequence'
|
296
|
+
[0m
|
297
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
298
|
+
FROM sqlite_master
|
299
|
+
WHERE name = 'v_people' AND NOT name = 'sqlite_sequence'
|
300
|
+
|
301
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
302
|
+
[1m[35m (0.2ms)[0m SELECT name
|
303
|
+
FROM sqlite_master
|
304
|
+
WHERE (type = 'table') AND NOT name = 'sqlite_sequence'
|
305
|
+
|
306
|
+
[1m[36m (0.1ms)[0m [1m SELECT name
|
307
|
+
FROM sqlite_master
|
308
|
+
WHERE type = 'view' AND NOT name = 'sqlite_sequence'
|
309
|
+
[0m
|
310
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
311
|
+
FROM sqlite_master
|
312
|
+
WHERE name = 'v_people' AND NOT name = 'sqlite_sequence'
|
313
|
+
|
314
|
+
[1m[36m (0.3ms)[0m [1mDROP TABLE "items" CASCADE[0m
|
315
|
+
SQLite3::SQLException: near "CASCADE": syntax error: DROP TABLE "items" CASCADE
|
316
|
+
[1m[35m (0.2ms)[0m DROP TABLE "items" CASCADE
|
317
|
+
SQLite3::SQLException: near "CASCADE": syntax error: DROP TABLE "items" CASCADE
|
318
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "items" CASCADE[0m
|
319
|
+
SQLite3::SQLException: near "CASCADE": syntax error: DROP TABLE "items" CASCADE
|
320
|
+
[1m[35m (0.3ms)[0m DROP TABLE "items" CASCADE
|
321
|
+
SQLite3::SQLException: near "CASCADE": syntax error: DROP TABLE "items" CASCADE
|
322
|
+
[1m[36m (0.5ms)[0m [1mDROP TABLE "items" CASCADE[0m
|
323
|
+
SQLite3::SQLException: near "CASCADE": syntax error: DROP TABLE "items" CASCADE
|
324
|
+
[1m[36m (1.9ms)[0m [1mDROP VIEW "v_people"[0m
|
325
|
+
[1m[35m (1.0ms)[0m CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people
|
326
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
327
|
+
[1m[35m (0.1ms)[0m SELECT name
|
328
|
+
FROM sqlite_master
|
329
|
+
WHERE (type = 'table') AND NOT name = 'sqlite_sequence'
|
330
|
+
|
331
|
+
[1m[36m (0.1ms)[0m [1m SELECT name
|
332
|
+
FROM sqlite_master
|
333
|
+
WHERE type = 'view' AND NOT name = 'sqlite_sequence'
|
334
|
+
[0m
|
335
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
336
|
+
FROM sqlite_master
|
337
|
+
WHERE name = 'v_people' AND NOT name = 'sqlite_sequence'
|
338
|
+
|
339
|
+
[1m[36m (1.3ms)[0m [1mDROP TABLE "items"[0m
|
340
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "person_id" integer, "created_at" datetime, "updated_at" datetime)
|
341
|
+
[1m[36m (0.7ms)[0m [1mDROP TABLE "items_people"[0m
|
342
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "items_people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "person_id" integer, "item_id" integer, "created_at" datetime, "updated_at" datetime)
|
343
|
+
[1m[36m (0.7ms)[0m [1mDROP TABLE "people"[0m
|
344
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "ssn" varchar(255), "address_id" integer)
|
345
|
+
[1m[36m (0.7ms)[0m [1mDROP TABLE "people2"[0m
|
346
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "people2" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "ssn" varchar(255), "created_at" datetime, "updated_at" datetime)
|
347
|
+
[1m[36m (0.6ms)[0m [1mDROP TABLE "places"[0m
|
348
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "places" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address" text, "city" varchar(255), "cstate" varchar(255), "country" varchar(255), "created_at" datetime, "updated_at" datetime)
|
349
|
+
[1m[36m (0.5ms)[0m [1mDROP VIEW "v_people"[0m
|
350
|
+
[1m[35m (0.1ms)[0m CREATE VIEW "v_people" AS CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people
|
351
|
+
SQLite3::SQLException: near "CREATE": syntax error: CREATE VIEW "v_people" AS CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people
|
352
|
+
[1m[36m (0.3ms)[0m [1mDROP VIEW "v_people"[0m
|
353
|
+
SQLite3::SQLException: no such view: v_people: DROP VIEW "v_people"
|
354
|
+
[1m[35m (0.1ms)[0m CREATE VIEW "v_people" AS CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people
|
355
|
+
SQLite3::SQLException: near "CREATE": syntax error: CREATE VIEW "v_people" AS CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people
|
356
|
+
[1m[36m (0.3ms)[0m [1mDROP VIEW "v_people"[0m
|
357
|
+
SQLite3::SQLException: no such view: v_people: DROP VIEW "v_people"
|
358
|
+
[1m[35m (0.2ms)[0m CREATE VIEW "v_people" AS CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people
|
359
|
+
SQLite3::SQLException: near "CREATE": syntax error: CREATE VIEW "v_people" AS CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people
|
360
|
+
[1m[36m (0.1ms)[0m [1mCREATE VIEW "v_people" AS CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people[0m
|
361
|
+
SQLite3::SQLException: near "CREATE": syntax error: CREATE VIEW "v_people" AS CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people
|
362
|
+
[1m[35m (0.1ms)[0m CREATE VIEW "v_people" AS CREATE VIEW \"v_people\" AS select id, first_name, last_name, ssn, address_id from people
|
363
|
+
SQLite3::SQLException: near "CREATE": syntax error: CREATE VIEW "v_people" AS CREATE VIEW \"v_people\" AS select id, first_name, last_name, ssn, address_id from people
|
364
|
+
[1m[36m (0.1ms)[0m [1mCREATE VIEW "v_people" AS CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people[0m
|
365
|
+
SQLite3::SQLException: near "CREATE": syntax error: CREATE VIEW "v_people" AS CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people
|
366
|
+
[1m[35m (0.1ms)[0m CREATE VIEW "v_people" AS CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people
|
367
|
+
SQLite3::SQLException: near "CREATE": syntax error: CREATE VIEW "v_people" AS CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people
|
368
|
+
[1m[36m (1.9ms)[0m [1mCREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people[0m
|
369
|
+
[1m[35m (1.7ms)[0m DROP TABLE "items"
|
370
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "person_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
371
|
+
[1m[35m (0.9ms)[0m DROP TABLE "items_people"
|
372
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "items_people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "person_id" integer, "item_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
373
|
+
[1m[35m (0.7ms)[0m DROP TABLE "people"
|
374
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "ssn" varchar(255), "address_id" integer) [0m
|
375
|
+
[1m[35m (0.7ms)[0m DROP TABLE "people2"
|
376
|
+
[1m[36m (0.7ms)[0m [1mCREATE TABLE "people2" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "ssn" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
377
|
+
[1m[35m (0.7ms)[0m DROP TABLE "places"
|
378
|
+
[1m[36m (0.7ms)[0m [1mCREATE TABLE "places" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address" text, "city" varchar(255), "cstate" varchar(255), "country" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
379
|
+
[1m[35m (0.6ms)[0m DROP VIEW "v_people"
|
380
|
+
[1m[36m (0.1ms)[0m [1mCREATE VIEW "v_people" AS CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people[0m
|
381
|
+
SQLite3::SQLException: near "CREATE": syntax error: CREATE VIEW "v_people" AS CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people
|
382
|
+
[1m[35m (2.3ms)[0m DROP TABLE "items"
|
383
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "person_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
384
|
+
[1m[35m (0.9ms)[0m DROP TABLE "items_people"
|
385
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "items_people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "person_id" integer, "item_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
386
|
+
[1m[35m (0.7ms)[0m DROP TABLE "people"
|
387
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "ssn" varchar(255), "address_id" integer) [0m
|
388
|
+
[1m[35m (0.7ms)[0m DROP TABLE "people2"
|
389
|
+
[1m[36m (0.7ms)[0m [1mCREATE TABLE "people2" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "ssn" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
390
|
+
[1m[35m (0.7ms)[0m DROP TABLE "places"
|
391
|
+
[1m[36m (0.7ms)[0m [1mCREATE TABLE "places" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address" text, "city" varchar(255), "cstate" varchar(255), "country" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
392
|
+
[1m[35m (0.1ms)[0m DROP VIEW "v_people"
|
393
|
+
SQLite3::SQLException: no such view: v_people: DROP VIEW "v_people"
|
394
|
+
[1m[36m (0.1ms)[0m [1mCREATE VIEW "v_people" AS CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people[0m
|
395
|
+
SQLite3::SQLException: near "CREATE": syntax error: CREATE VIEW "v_people" AS CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people
|
396
|
+
[1m[36m (1.7ms)[0m [1mDROP TABLE "items"[0m
|
397
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "person_id" integer, "created_at" datetime, "updated_at" datetime)
|
398
|
+
[1m[36m (0.9ms)[0m [1mDROP TABLE "items_people"[0m
|
399
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "items_people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "person_id" integer, "item_id" integer, "created_at" datetime, "updated_at" datetime)
|
400
|
+
[1m[36m (0.8ms)[0m [1mDROP TABLE "people"[0m
|
401
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "ssn" varchar(255), "address_id" integer)
|
402
|
+
[1m[36m (0.9ms)[0m [1mDROP TABLE "people2"[0m
|
403
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "people2" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "ssn" varchar(255), "created_at" datetime, "updated_at" datetime)
|
404
|
+
[1m[36m (1.0ms)[0m [1mDROP TABLE "places"[0m
|
405
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "places" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address" text, "city" varchar(255), "cstate" varchar(255), "country" varchar(255), "created_at" datetime, "updated_at" datetime)
|
406
|
+
[1m[36m (0.2ms)[0m [1mDROP VIEW "v_people"[0m
|
407
|
+
SQLite3::SQLException: no such view: v_people: DROP VIEW "v_people"
|
408
|
+
[1m[35m (0.1ms)[0m CREATE VIEW "v_people" AS CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people
|
409
|
+
SQLite3::SQLException: near "CREATE": syntax error: CREATE VIEW "v_people" AS CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people
|
410
|
+
[1m[36m (8.0ms)[0m [1mDROP TABLE "items"[0m
|
411
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "person_id" integer, "created_at" datetime, "updated_at" datetime)
|
412
|
+
[1m[36m (1.0ms)[0m [1mDROP TABLE "items_people"[0m
|
413
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "items_people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "person_id" integer, "item_id" integer, "created_at" datetime, "updated_at" datetime)
|
414
|
+
[1m[36m (1.0ms)[0m [1mDROP TABLE "people"[0m
|
415
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "ssn" varchar(255), "address_id" integer)
|
416
|
+
[1m[36m (1.1ms)[0m [1mDROP TABLE "people2"[0m
|
417
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "people2" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "ssn" varchar(255), "created_at" datetime, "updated_at" datetime)
|
418
|
+
[1m[36m (1.0ms)[0m [1mDROP TABLE "places"[0m
|
419
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "places" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address" text, "city" varchar(255), "cstate" varchar(255), "country" varchar(255), "created_at" datetime, "updated_at" datetime)
|
420
|
+
[1m[36m (0.2ms)[0m [1mDROP VIEW "v_people"[0m
|
421
|
+
SQLite3::SQLException: no such view: v_people: DROP VIEW "v_people"
|
422
|
+
[1m[35m (0.1ms)[0m CREATE VIEW "v_people" AS CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people
|
423
|
+
SQLite3::SQLException: near "CREATE": syntax error: CREATE VIEW "v_people" AS CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people
|
424
|
+
[1m[36m (1.6ms)[0m [1mDROP TABLE "items"[0m
|
425
|
+
[1m[35m (5.2ms)[0m CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "person_id" integer, "created_at" datetime, "updated_at" datetime)
|
426
|
+
[1m[36m (0.7ms)[0m [1mDROP TABLE "items_people"[0m
|
427
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "items_people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "person_id" integer, "item_id" integer, "created_at" datetime, "updated_at" datetime)
|
428
|
+
[1m[36m (1.1ms)[0m [1mDROP TABLE "people"[0m
|
429
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "ssn" varchar(255), "address_id" integer)
|
430
|
+
[1m[36m (1.1ms)[0m [1mDROP TABLE "people2"[0m
|
431
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "people2" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "ssn" varchar(255), "created_at" datetime, "updated_at" datetime)
|
432
|
+
[1m[36m (1.0ms)[0m [1mDROP TABLE "places"[0m
|
433
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "places" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address" text, "city" varchar(255), "cstate" varchar(255), "country" varchar(255), "created_at" datetime, "updated_at" datetime)
|
434
|
+
[1m[36m (0.3ms)[0m [1mDROP VIEW "v_people"[0m
|
435
|
+
SQLite3::SQLException: no such view: v_people: DROP VIEW "v_people"
|
436
|
+
[1m[35m (1.0ms)[0m CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people
|
437
|
+
[1m[36m (0.8ms)[0m [1mDROP VIEW "v_people"[0m
|
438
|
+
[1m[35m (0.9ms)[0m CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people
|
439
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|