auto_build 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +72 -12
- data/lib/auto_build/association.rb +98 -0
- data/lib/auto_build/builder.rb +68 -13
- data/lib/auto_build/version.rb +1 -1
- data/lib/auto_build.rb +5 -0
- data/test/auto_build_test.rb +21 -0
- data/test/dummy/app/models/nickname.rb +3 -0
- data/test/dummy/app/models/project.rb +2 -0
- data/test/dummy/app/models/user.rb +5 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20111213003425_create_projects.rb +10 -0
- data/test/dummy/db/migrate/20111213033025_create_nicknames.rb +10 -0
- data/test/dummy/db/schema.rb +15 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +229 -0
- data/test/dummy/log/test.log +6183 -0
- data/test/dummy/test/fixtures/nicknames.yml +9 -0
- data/test/dummy/test/fixtures/projects.yml +9 -0
- data/test/dummy/test/unit/nickname_test.rb +7 -0
- data/test/dummy/test/unit/project_test.rb +7 -0
- metadata +23 -6
@@ -227,3 +227,232 @@ Migrating to CreatePictures (20111212001258)
|
|
227
227
|
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111211212757')[0m
|
228
228
|
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111211212813')
|
229
229
|
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111211213814')[0m
|
230
|
+
[1m[36m (0.4ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
231
|
+
Migrating to CreateUsers (20111211212757)
|
232
|
+
Migrating to CreateAddresses (20111211212813)
|
233
|
+
Migrating to CreatePhones (20111211213814)
|
234
|
+
Migrating to CreatePictures (20111212001258)
|
235
|
+
Migrating to CreateUsersFriendsJoinTable (20111212235510)
|
236
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
237
|
+
[1m[36m (0.5ms)[0m [1mCREATE TABLE "friends_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "friend_id" integer) [0m
|
238
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20111212235510')
|
239
|
+
[1m[36m (0.3ms)[0m [1mselect sqlite_version(*)[0m
|
240
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
241
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("addresses")[0m
|
242
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("friends_users")
|
243
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("phones")[0m
|
244
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("pictures")
|
245
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
246
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
247
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
248
|
+
Migrating to CreateUsersFriendsJoinTable (20111212235510)
|
249
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
250
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
251
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
252
|
+
Migrating to CreateUsersFriendsJoinTable (20111212235510)
|
253
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
254
|
+
[1m[35m (0.5ms)[0m DROP TABLE "friends_users"
|
255
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20111212235510'[0m
|
256
|
+
[1m[35m (0.6ms)[0m select sqlite_version(*)
|
257
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
258
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("addresses")
|
259
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("phones")[0m
|
260
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("pictures")
|
261
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
262
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
263
|
+
Migrating to CreateUsers (20111211212757)
|
264
|
+
Migrating to CreateAddresses (20111211212813)
|
265
|
+
Migrating to CreatePhones (20111211213814)
|
266
|
+
Migrating to CreatePictures (20111212001258)
|
267
|
+
Migrating to Project (20111212235817)
|
268
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
269
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20111212235817')[0m
|
270
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
271
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
272
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("addresses")
|
273
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("phones")[0m
|
274
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("pictures")
|
275
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
276
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
277
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
278
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "city" varchar(255), "user_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
279
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "phones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar(255), "user_id" integer, "created_at" datetime, "updated_at" datetime)
|
280
|
+
[1m[36m (1.5ms)[0m [1mCREATE TABLE "pictures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "path" varchar(255), "user_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
281
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)
|
282
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
283
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
284
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
285
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
286
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111212235817')[0m
|
287
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111211212757')
|
288
|
+
[1m[36m (1.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111211212813')[0m
|
289
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111211213814')
|
290
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111212001258')[0m
|
291
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
292
|
+
Migrating to CreateUsers (20111211212757)
|
293
|
+
Migrating to CreateAddresses (20111211212813)
|
294
|
+
Migrating to CreatePhones (20111211213814)
|
295
|
+
Migrating to CreatePictures (20111212001258)
|
296
|
+
Migrating to Project (20111212235817)
|
297
|
+
[1m[35m (0.4ms)[0m select sqlite_version(*)
|
298
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
299
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("addresses")
|
300
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("phones")[0m
|
301
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("pictures")
|
302
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
303
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
304
|
+
Migrating to CreateUsers (20111211212757)
|
305
|
+
Migrating to CreateAddresses (20111211212813)
|
306
|
+
Migrating to CreatePhones (20111211213814)
|
307
|
+
Migrating to CreatePictures (20111212001258)
|
308
|
+
Migrating to Project (20111212235817)
|
309
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
310
|
+
[1m[36m (0.3ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
311
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("addresses")
|
312
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("phones")[0m
|
313
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("pictures")
|
314
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
315
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
316
|
+
Migrating to CreateUsers (20111211212757)
|
317
|
+
Migrating to CreateAddresses (20111211212813)
|
318
|
+
Migrating to CreatePhones (20111211213814)
|
319
|
+
Migrating to CreatePictures (20111212001258)
|
320
|
+
Migrating to Project (20111212235817)
|
321
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
322
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
323
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("addresses")
|
324
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("phones")[0m
|
325
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("pictures")
|
326
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
327
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
328
|
+
[1m[36m (0.3ms)[0m [1mselect sqlite_version(*)[0m
|
329
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "city" varchar(255), "user_id" integer, "created_at" datetime, "updated_at" datetime)
|
330
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "phones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar(255), "user_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
331
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "pictures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "path" varchar(255), "user_id" integer, "created_at" datetime, "updated_at" datetime)
|
332
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
333
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
334
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
335
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
336
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
337
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111212235817')
|
338
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111211212757')[0m
|
339
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111211212813')
|
340
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111211213814')[0m
|
341
|
+
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111212001258')
|
342
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
343
|
+
Migrating to CreateUsers (20111211212757)
|
344
|
+
Migrating to CreateAddresses (20111211212813)
|
345
|
+
Migrating to CreatePhones (20111211213814)
|
346
|
+
Migrating to CreatePictures (20111212001258)
|
347
|
+
Migrating to CreateProjects (20111213003425)
|
348
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
349
|
+
[1m[36m (0.5ms)[0m [1mCREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "user_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
350
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20111213003425')
|
351
|
+
[1m[36m (0.4ms)[0m [1mselect sqlite_version(*)[0m
|
352
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
353
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("addresses")[0m
|
354
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("phones")
|
355
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("pictures")[0m
|
356
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("projects")
|
357
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
358
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
359
|
+
[1m[36m (0.3ms)[0m [1mselect sqlite_version(*)[0m
|
360
|
+
[1m[35m (4.2ms)[0m CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "city" varchar(255), "user_id" integer, "created_at" datetime, "updated_at" datetime)
|
361
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "phones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar(255), "user_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
362
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "pictures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "path" varchar(255), "user_id" integer, "created_at" datetime, "updated_at" datetime)
|
363
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "user_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
364
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)
|
365
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
366
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
367
|
+
[1m[36m (1.3ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
368
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
369
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111213003425')[0m
|
370
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111211212757')
|
371
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111211212813')[0m
|
372
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111211213814')
|
373
|
+
[1m[36m (1.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111212001258')[0m
|
374
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
375
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
376
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "city" varchar(255), "user_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
377
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "phones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar(255), "user_id" integer, "created_at" datetime, "updated_at" datetime)
|
378
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "pictures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "path" varchar(255), "user_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
379
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "user_id" integer, "created_at" datetime, "updated_at" datetime)
|
380
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
381
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
382
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
383
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
384
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
385
|
+
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111213003425')
|
386
|
+
[1m[36m (1.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111211212757')[0m
|
387
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111211212813')
|
388
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111211213814')[0m
|
389
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111212001258')
|
390
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
391
|
+
Migrating to CreateUsers (20111211212757)
|
392
|
+
Migrating to CreateAddresses (20111211212813)
|
393
|
+
Migrating to CreatePhones (20111211213814)
|
394
|
+
Migrating to CreatePictures (20111212001258)
|
395
|
+
Migrating to CreateProjects (20111213003425)
|
396
|
+
Migrating to CreateNicknames (20111213033025)
|
397
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
398
|
+
[1m[36m (0.6ms)[0m [1mCREATE TABLE "nicknames" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "user_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
399
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20111213033025')
|
400
|
+
[1m[36m (0.4ms)[0m [1mselect sqlite_version(*)[0m
|
401
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
402
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("addresses")[0m
|
403
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("nicknames")
|
404
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("phones")[0m
|
405
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("pictures")
|
406
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("projects")[0m
|
407
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
408
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
409
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
410
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "city" varchar(255), "user_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
411
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "nicknames" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "user_id" integer, "created_at" datetime, "updated_at" datetime)
|
412
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "phones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar(255), "user_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
413
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "pictures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "path" varchar(255), "user_id" integer, "created_at" datetime, "updated_at" datetime)
|
414
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "user_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
415
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)
|
416
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
417
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
418
|
+
[1m[36m (1.2ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
419
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
420
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111213033025')[0m
|
421
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111211212757')
|
422
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111211212813')[0m
|
423
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111211213814')
|
424
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111212001258')[0m
|
425
|
+
[1m[35m (1.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111213003425')
|
426
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
427
|
+
Migrating to CreateUsers (20111211212757)
|
428
|
+
Migrating to CreateAddresses (20111211212813)
|
429
|
+
Migrating to CreatePhones (20111211213814)
|
430
|
+
Migrating to CreatePictures (20111212001258)
|
431
|
+
Migrating to CreateProjects (20111213003425)
|
432
|
+
Migrating to CreateNicknames (20111213033025)
|
433
|
+
[1m[35m (0.4ms)[0m select sqlite_version(*)
|
434
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
435
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("addresses")
|
436
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("nicknames")[0m
|
437
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("phones")
|
438
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("pictures")[0m
|
439
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("projects")
|
440
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
441
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
442
|
+
[1m[36m (0.3ms)[0m [1mselect sqlite_version(*)[0m
|
443
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "city" varchar(255), "user_id" integer, "created_at" datetime, "updated_at" datetime)
|
444
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "nicknames" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "user_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
445
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "phones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar(255), "user_id" integer, "created_at" datetime, "updated_at" datetime)
|
446
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "pictures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "path" varchar(255), "user_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
447
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "user_id" integer, "created_at" datetime, "updated_at" datetime)
|
448
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
449
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
450
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
451
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
452
|
+
[1m[36m (0.3ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
453
|
+
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111213033025')
|
454
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111211212757')[0m
|
455
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111211212813')
|
456
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111211213814')[0m
|
457
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111212001258')
|
458
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111213003425')[0m
|