acts_as_paranoid 0.3.1 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/{MIT-LICENSE → LICENSE} +2 -2
- data/README.markdown +248 -0
- data/lib/acts_as_paranoid/associations.rb +34 -0
- data/lib/acts_as_paranoid/core.rb +184 -0
- data/lib/acts_as_paranoid/relation.rb +36 -0
- data/lib/acts_as_paranoid/validations.rb +43 -0
- data/lib/rails3_acts_as_paranoid.rb +61 -0
- metadata +65 -46
- data/CHANGELOG +0 -47
- data/README +0 -26
- data/RUNNING_UNIT_TESTS +0 -41
- data/lib/acts_as_paranoid.rb +0 -166
- data/test/database.yml +0 -18
- data/test/debug.log +0 -704
- data/test/fixtures/categories.yml +0 -19
- data/test/fixtures/categories_widgets.yml +0 -12
- data/test/fixtures/widgets.yml +0 -8
- data/test/paranoid_test.rb +0 -151
- data/test/schema.rb +0 -20
- data/test/test_helper.rb +0 -36
data/test/database.yml
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
sqlite:
|
2
|
-
:adapter: sqlite
|
3
|
-
:dbfile: acts_as_paranoid_plugin.sqlite.db
|
4
|
-
sqlite3:
|
5
|
-
:adapter: sqlite3
|
6
|
-
:dbfile: acts_as_paranoid_plugin.sqlite3.db
|
7
|
-
postgresql:
|
8
|
-
:adapter: postgresql
|
9
|
-
:username: postgres
|
10
|
-
:password: postgres
|
11
|
-
:database: acts_as_paranoid_plugin_test
|
12
|
-
:min_messages: ERROR
|
13
|
-
mysql:
|
14
|
-
:adapter: mysql
|
15
|
-
:host: localhost
|
16
|
-
:username: rails
|
17
|
-
:password:
|
18
|
-
:database: acts_as_paranoid_plugin_test
|
data/test/debug.log
DELETED
@@ -1,704 +0,0 @@
|
|
1
|
-
# Logfile created on Tue Dec 20 21:35:51 CST 2005 by logger.rb/1.5.2.4
|
2
|
-
[4;36;1mSQL (0.000000)[0m [0;1mSQLite::Exceptions::SQLException: no such table: widgets: DROP TABLE widgets[0m
|
3
|
-
[4;35;1mSQL (0.005210)[0m [0mCREATE TABLE widgets ("id" INTEGER PRIMARY KEY NOT NULL, "title" varchar(50), "category_id" integer, "deleted_at" datetime) [0m
|
4
|
-
[4;36;1mSQL (0.000000)[0m [0;1mSQLite::Exceptions::SQLException: no such table: categories: DROP TABLE categories[0m
|
5
|
-
[4;35;1mSQL (0.003470)[0m [0mCREATE TABLE categories ("id" INTEGER PRIMARY KEY NOT NULL, "widget_id" integer, "title" varchar(50), "deleted_at" datetime) [0m
|
6
|
-
[4;36;1mSQL (0.000000)[0m [0;1mSQLite::Exceptions::SQLException: no such table: categories_widgets: DROP TABLE categories_widgets[0m
|
7
|
-
[4;35;1mSQL (0.003810)[0m [0mCREATE TABLE categories_widgets ("category_id" integer, "widget_id" integer) [0m
|
8
|
-
[4;36;1mSQL (0.004224)[0m [0;1mCREATE TABLE schema_info (version integer)[0m
|
9
|
-
[4;35;1mSQL (0.003689)[0m [0mINSERT INTO schema_info (version) VALUES(0)[0m
|
10
|
-
[4;36;1mSQL (0.000762)[0m [0;1mPRAGMA table_info(schema_info)[0m
|
11
|
-
[4;35;1mSQL (0.006911)[0m [0mUPDATE schema_info SET version = 1[0m
|
12
|
-
[4;36;1mWidget Count (0.001137)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE (title = 'deleted widget 2') [0m
|
13
|
-
[4;35;1mWidget Count (0.000691)[0m [0mSELECT COUNT(*) FROM widgets WHERE (title = 'deleted widget 2') [0m
|
14
|
-
[4;36;1mWidget Count (0.000747)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
15
|
-
[4;35;1mWidget Count (0.001069)[0m [0mSELECT COUNT(*) FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
16
|
-
[4;36;1mWidget Load (0.000991)[0m [0;1mSELECT * FROM widgets WHERE (title = 'deleted widget 2') [0m
|
17
|
-
[4;35;1mSQL (0.001241)[0m [0mPRAGMA table_info(widgets)[0m
|
18
|
-
[4;36;1mWidget Load (0.002992)[0m [0;1mSELECT * FROM widgets WHERE (title = 'deleted widget 2') [0m
|
19
|
-
[4;35;1mWidget Load (0.000566)[0m [0mSELECT * FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
20
|
-
[4;36;1mWidget Load (0.000454)[0m [0;1mSELECT * FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
21
|
-
[4;35;1mWidget Count (0.000885)[0m [0mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
22
|
-
[4;36;1mCategory Count (0.000795)[0m [0;1mSELECT COUNT(*) FROM categories WHERE (categories.deleted_at IS NULL) [0m
|
23
|
-
[4;35;1mWidget Load (0.001047)[0m [0mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
24
|
-
[4;36;1mCategory Load (0.000848)[0m [0;1mSELECT * FROM categories WHERE (categories.deleted_at IS NULL) AND (categories.widget_id = 1) [0m
|
25
|
-
[4;35;1mSQL (0.001224)[0m [0mPRAGMA table_info(categories)[0m
|
26
|
-
[4;36;1mSQL (0.002276)[0m [0;1mUPDATE categories SET deleted_at = '2005-12-20 21:35:52' WHERE id = 1[0m
|
27
|
-
[4;35;1mWidget Destroy (0.000530)[0m [0m DELETE FROM widgets
|
28
|
-
WHERE id = 1
|
29
|
-
[0m
|
30
|
-
[4;36;1mWidget Count (0.000737)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
31
|
-
[4;35;1mCategory Count (0.000655)[0m [0mSELECT COUNT(*) FROM categories WHERE (categories.deleted_at IS NULL) [0m
|
32
|
-
[4;36;1mWidget Count (0.000947)[0m [0;1mSELECT COUNT(*) FROM widgets [0m
|
33
|
-
[4;35;1mCategory Count (0.049925)[0m [0mSELECT COUNT(*) FROM categories [0m
|
34
|
-
[4;36;1mCategory Load (0.001103)[0m [0;1mSELECT * FROM categories WHERE (categories.id = 3) LIMIT 1[0m
|
35
|
-
[4;35;1mWidget Load (0.000896)[0m [0mSELECT * FROM widgets WHERE (widgets.id = 2) LIMIT 1[0m
|
36
|
-
[4;36;1mCategory Load (0.000811)[0m [0;1mSELECT * FROM categories WHERE (categories.id = 3) LIMIT 1[0m
|
37
|
-
[4;35;1mWidget Load (0.000940)[0m [0mSELECT * FROM widgets WHERE (widgets.id = 2) LIMIT 1[0m
|
38
|
-
[4;36;1mCategory Load (0.001320)[0m [0;1mSELECT * FROM categories LEFT JOIN categories_widgets ON categories.id = categories_widgets.category_id WHERE (categories_widgets.widget_id = 2 ) [0m
|
39
|
-
[4;35;1mCategory Load (0.001176)[0m [0mSELECT * FROM categories LEFT JOIN categories_widgets ON categories.id = categories_widgets.category_id WHERE (categories_widgets.widget_id = 2 ) [0m
|
40
|
-
[4;36;1mWidget Load (0.000982)[0m [0;1mSELECT * FROM widgets WHERE (widgets.id = 2) LIMIT 1[0m
|
41
|
-
[4;35;1mCategory Load (0.001036)[0m [0mSELECT * FROM categories WHERE (categories.widget_id = 2) [0m
|
42
|
-
[4;36;1mCategory Load (0.001090)[0m [0;1mSELECT * FROM categories WHERE (categories.widget_id = 2) [0m
|
43
|
-
[4;35;1mCategory Load (0.001249)[0m [0mSELECT * FROM categories WHERE (categories.id = 3) LIMIT 1[0m
|
44
|
-
[4;36;1mWidget Load (0.000866)[0m [0;1mSELECT * FROM widgets WHERE (widgets.id = 2) LIMIT 1[0m
|
45
|
-
[4;35;1mCategory Load (0.000818)[0m [0mSELECT * FROM categories WHERE (categories.widget_id = 2) LIMIT 1[0m
|
46
|
-
[4;36;1mWidget Load (0.001490)[0m [0;1mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
47
|
-
[4;35;1mWidget Load (0.000824)[0m [0mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) LIMIT 1[0m
|
48
|
-
[4;36;1mWidget Load (0.000733)[0m [0;1mSELECT * FROM widgets ORDER BY id desc LIMIT 1[0m
|
49
|
-
[4;35;1mWidget Load (0.001154)[0m [0mSELECT * FROM widgets WHERE (widgets.id IN (1,2)) [0m
|
50
|
-
[4;36;1mWidget Load (0.001164)[0m [0;1mSELECT * FROM widgets WHERE (widgets.id IN (1,2)) [0m
|
51
|
-
[4;35;1mWidget Load (0.001027)[0m [0mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id IN (1,2)) [0m
|
52
|
-
[4;36;1mWidget Load (0.001023)[0m [0;1mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
53
|
-
[4;35;1mWidget Load (0.002383)[0m [0mSELECT * FROM widgets WHERE (widgets.id = 2) LIMIT 1[0m
|
54
|
-
[4;36;1mWidget Load (0.000754)[0m [0;1mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 2) LIMIT 1[0m
|
55
|
-
[4;35;1mWidget Load (0.000994)[0m [0mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
56
|
-
[4;36;1mWidget Count (0.000828)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
57
|
-
[4;35;1mWidget Count (0.000769)[0m [0mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) AND (title='widget 1') [0m
|
58
|
-
[4;36;1mWidget Count (0.000724)[0m [0;1mSELECT COUNT(*) FROM widgets [0m
|
59
|
-
[4;35;1mWidget Load (0.000982)[0m [0mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
60
|
-
[4;36;1mWidget Load (0.000785)[0m [0;1mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
61
|
-
[4;35;1mWidget Load (0.000864)[0m [0mSELECT * FROM widgets ORDER BY id [0m
|
62
|
-
[4;36;1mCategory Count (0.001361)[0m [0;1mSELECT COUNT(*) FROM categories WHERE (widget_id=1) [0m
|
63
|
-
[4;35;1mWidget Load (0.004062)[0m [0mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
64
|
-
[4;36;1mCategory Count (0.000851)[0m [0;1mSELECT COUNT(*) FROM categories WHERE (categories.deleted_at IS NULL) AND (categories.widget_id = 1) [0m
|
65
|
-
[4;35;1mCategory Load (0.001045)[0m [0mSELECT * FROM categories WHERE (categories.deleted_at IS NULL) AND (categories.id = 1) LIMIT 1[0m
|
66
|
-
[4;36;1mCategory Load (0.001186)[0m [0;1mSELECT * FROM categories WHERE (categories.deleted_at IS NULL) AND (categories.widget_id = 1) [0m
|
67
|
-
[4;35;1mCategory Load (0.001159)[0m [0mSELECT * FROM categories LEFT JOIN categories_widgets ON categories.id = categories_widgets.category_id WHERE (categories.deleted_at IS NULL) AND (categories_widgets.widget_id = 1 ) [0m
|
68
|
-
[4;36;1mWidget Count (0.000898)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE ((title = 'widget 1') AND widgets.deleted_at IS NULL) [0m
|
69
|
-
[4;35;1mWidget Count (0.000786)[0m [0mSELECT COUNT(*) FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
70
|
-
[4;36;1mWidget Count (0.000701)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE (title = 'deleted widget 2') [0m
|
71
|
-
[4;35;1mWidget Load (0.000924)[0m [0mSELECT * FROM widgets WHERE ((title = 'widget 1') AND widgets.deleted_at IS NULL) [0m
|
72
|
-
[4;36;1mWidget Load (0.000575)[0m [0;1mSELECT * FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
73
|
-
[4;35;1mWidget Load (0.007056)[0m [0mSELECT * FROM widgets WHERE (title = 'deleted widget 2') [0m
|
74
|
-
[4;36;1mWidget Count (0.000909)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
75
|
-
[4;35;1mCategory Count (0.001101)[0m [0mSELECT COUNT(*) FROM categories WHERE (categories.deleted_at IS NULL) [0m
|
76
|
-
[4;36;1mWidget Load (0.001064)[0m [0;1mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
77
|
-
[4;35;1mCategory Load (0.003699)[0m [0mSELECT * FROM categories WHERE (categories.deleted_at IS NULL) AND (categories.widget_id = 1) [0m
|
78
|
-
[4;36;1mSQL (0.003892)[0m [0;1mUPDATE categories SET deleted_at = '2005-12-20 21:35:52' WHERE id = 1[0m
|
79
|
-
[4;35;1mCategory Load (0.000728)[0m [0mSELECT * FROM categories LEFT JOIN categories_widgets ON categories.id = categories_widgets.category_id WHERE (categories.deleted_at IS NULL) AND (categories_widgets.widget_id = 1 ) [0m
|
80
|
-
[4;36;1mSQL (0.001064)[0m [0;1mUPDATE widgets SET deleted_at = '2005-12-20 21:35:52' WHERE id = 1[0m
|
81
|
-
[4;35;1mWidget Count (0.000702)[0m [0mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
82
|
-
[4;36;1mCategory Count (0.000696)[0m [0;1mSELECT COUNT(*) FROM categories WHERE (categories.deleted_at IS NULL) [0m
|
83
|
-
[4;35;1mWidget Count (0.000931)[0m [0mSELECT COUNT(*) FROM widgets [0m
|
84
|
-
[4;36;1mCategory Count (0.000972)[0m [0;1mSELECT COUNT(*) FROM categories [0m
|
85
|
-
[4;36;1mSQL (0.005387)[0m [0;1mDROP TABLE widgets[0m
|
86
|
-
[4;35;1mSQL (0.003986)[0m [0mCREATE TABLE widgets ("id" INTEGER PRIMARY KEY NOT NULL, "title" varchar(50), "category_id" integer, "deleted_at" datetime) [0m
|
87
|
-
[4;36;1mSQL (0.003770)[0m [0;1mDROP TABLE categories[0m
|
88
|
-
[4;35;1mSQL (0.003536)[0m [0mCREATE TABLE categories ("id" INTEGER PRIMARY KEY NOT NULL, "widget_id" integer, "title" varchar(50), "deleted_at" datetime) [0m
|
89
|
-
[4;36;1mSQL (0.004193)[0m [0;1mDROP TABLE categories_widgets[0m
|
90
|
-
[4;35;1mSQL (0.005201)[0m [0mCREATE TABLE categories_widgets ("category_id" integer, "widget_id" integer) [0m
|
91
|
-
[4;36;1mSQL (0.000000)[0m [0;1mSQLite::Exceptions::SQLException: table schema_info already exists: CREATE TABLE schema_info (version integer)[0m
|
92
|
-
[4;35;1mSQL (0.000746)[0m [0mPRAGMA table_info(schema_info)[0m
|
93
|
-
[4;36;1mSQL (0.003631)[0m [0;1mUPDATE schema_info SET version = 1[0m
|
94
|
-
[4;35;1mWidget Count (0.000991)[0m [0mSELECT COUNT(*) FROM widgets WHERE (title = 'deleted widget 2') [0m
|
95
|
-
[4;36;1mWidget Count (0.000696)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE (title = 'deleted widget 2') [0m
|
96
|
-
[4;35;1mWidget Count (0.000806)[0m [0mSELECT COUNT(*) FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
97
|
-
[4;36;1mWidget Count (0.000663)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
98
|
-
[4;35;1mWidget Load (0.000851)[0m [0mSELECT * FROM widgets WHERE (title = 'deleted widget 2') [0m
|
99
|
-
[4;36;1mSQL (0.001322)[0m [0;1mPRAGMA table_info(widgets)[0m
|
100
|
-
[4;35;1mWidget Load (0.000791)[0m [0mSELECT * FROM widgets WHERE (title = 'deleted widget 2') [0m
|
101
|
-
[4;36;1mWidget Load (0.000534)[0m [0;1mSELECT * FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
102
|
-
[4;35;1mWidget Load (0.000488)[0m [0mSELECT * FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
103
|
-
[4;36;1mWidget Count (0.000835)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
104
|
-
[4;35;1mCategory Count (0.000793)[0m [0mSELECT COUNT(*) FROM categories WHERE (categories.deleted_at IS NULL) [0m
|
105
|
-
[4;36;1mWidget Load (0.001138)[0m [0;1mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
106
|
-
[4;35;1mCategory Load (0.000991)[0m [0mSELECT * FROM categories WHERE (categories.deleted_at IS NULL) AND (categories.widget_id = 1) [0m
|
107
|
-
[4;36;1mSQL (0.001347)[0m [0;1mPRAGMA table_info(categories)[0m
|
108
|
-
[4;35;1mSQL (0.003938)[0m [0mUPDATE categories SET deleted_at = '2005-12-20 21:39:32' WHERE id = 1[0m
|
109
|
-
[4;36;1mWidget Destroy (0.000512)[0m [0;1m DELETE FROM widgets
|
110
|
-
WHERE id = 1
|
111
|
-
[0m
|
112
|
-
[4;35;1mWidget Count (0.000793)[0m [0mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
113
|
-
[4;36;1mCategory Count (0.000712)[0m [0;1mSELECT COUNT(*) FROM categories WHERE (categories.deleted_at IS NULL) [0m
|
114
|
-
[4;35;1mWidget Count (0.001093)[0m [0mSELECT COUNT(*) FROM widgets [0m
|
115
|
-
[4;36;1mCategory Count (0.000672)[0m [0;1mSELECT COUNT(*) FROM categories [0m
|
116
|
-
[4;35;1mCategory Load (0.001395)[0m [0mSELECT * FROM categories WHERE (categories.id = 3) LIMIT 1[0m
|
117
|
-
[4;36;1mWidget Load (0.000911)[0m [0;1mSELECT * FROM widgets WHERE (widgets.id = 2) LIMIT 1[0m
|
118
|
-
[4;35;1mCategory Load (0.000971)[0m [0mSELECT * FROM categories WHERE (categories.id = 3) LIMIT 1[0m
|
119
|
-
[4;36;1mWidget Load (0.000873)[0m [0;1mSELECT * FROM widgets WHERE (widgets.id = 2) LIMIT 1[0m
|
120
|
-
[4;35;1mCategory Load (0.001397)[0m [0mSELECT * FROM categories LEFT JOIN categories_widgets ON categories.id = categories_widgets.category_id WHERE (categories_widgets.widget_id = 2 ) [0m
|
121
|
-
[4;36;1mCategory Load (0.001278)[0m [0;1mSELECT * FROM categories LEFT JOIN categories_widgets ON categories.id = categories_widgets.category_id WHERE (categories_widgets.widget_id = 2 ) [0m
|
122
|
-
[4;35;1mWidget Load (0.001013)[0m [0mSELECT * FROM widgets WHERE (widgets.id = 2) LIMIT 1[0m
|
123
|
-
[4;36;1mCategory Load (0.001344)[0m [0;1mSELECT * FROM categories WHERE (categories.widget_id = 2) [0m
|
124
|
-
[4;35;1mCategory Load (0.001142)[0m [0mSELECT * FROM categories WHERE (categories.widget_id = 2) [0m
|
125
|
-
[4;36;1mCategory Load (0.005247)[0m [0;1mSELECT * FROM categories WHERE (categories.id = 3) LIMIT 1[0m
|
126
|
-
[4;35;1mWidget Load (0.000912)[0m [0mSELECT * FROM widgets WHERE (widgets.id = 2) LIMIT 1[0m
|
127
|
-
[4;36;1mCategory Load (0.001265)[0m [0;1mSELECT * FROM categories WHERE (categories.widget_id = 2) LIMIT 1[0m
|
128
|
-
[4;35;1mWidget Load (0.006354)[0m [0mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
129
|
-
[4;36;1mWidget Load (0.000864)[0m [0;1mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) LIMIT 1[0m
|
130
|
-
[4;35;1mWidget Load (0.000813)[0m [0mSELECT * FROM widgets ORDER BY id desc LIMIT 1[0m
|
131
|
-
[4;36;1mWidget Load (0.001148)[0m [0;1mSELECT * FROM widgets WHERE (widgets.id IN (1,2)) [0m
|
132
|
-
[4;35;1mWidget Load (0.001077)[0m [0mSELECT * FROM widgets WHERE (widgets.id IN (1,2)) [0m
|
133
|
-
[4;36;1mWidget Load (0.001226)[0m [0;1mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id IN (1,2)) [0m
|
134
|
-
[4;35;1mWidget Load (0.001044)[0m [0mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
135
|
-
[4;36;1mWidget Load (0.000847)[0m [0;1mSELECT * FROM widgets WHERE (widgets.id = 2) LIMIT 1[0m
|
136
|
-
[4;35;1mWidget Load (0.000621)[0m [0mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 2) LIMIT 1[0m
|
137
|
-
[4;36;1mWidget Load (0.005349)[0m [0;1mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
138
|
-
[4;35;1mWidget Count (0.000844)[0m [0mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
139
|
-
[4;36;1mWidget Count (0.001020)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) AND (title='widget 1') [0m
|
140
|
-
[4;35;1mWidget Count (0.001099)[0m [0mSELECT COUNT(*) FROM widgets [0m
|
141
|
-
[4;36;1mWidget Load (0.024509)[0m [0;1mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
142
|
-
[4;35;1mWidget Load (0.001008)[0m [0mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
143
|
-
[4;36;1mWidget Load (0.001410)[0m [0;1mSELECT * FROM widgets ORDER BY id [0m
|
144
|
-
[4;35;1mCategory Count (0.000886)[0m [0mSELECT COUNT(*) FROM categories WHERE (widget_id=1) [0m
|
145
|
-
[4;36;1mWidget Load (0.001461)[0m [0;1mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
146
|
-
[4;35;1mCategory Count (0.001001)[0m [0mSELECT COUNT(*) FROM categories WHERE (categories.deleted_at IS NULL) AND (categories.widget_id = 1) [0m
|
147
|
-
[4;36;1mCategory Load (0.003967)[0m [0;1mSELECT * FROM categories WHERE (categories.deleted_at IS NULL) AND (categories.id = 1) LIMIT 1[0m
|
148
|
-
[4;35;1mCategory Load (0.000966)[0m [0mSELECT * FROM categories WHERE (categories.deleted_at IS NULL) AND (categories.widget_id = 1) [0m
|
149
|
-
[4;36;1mCategory Load (0.001201)[0m [0;1mSELECT * FROM categories LEFT JOIN categories_widgets ON categories.id = categories_widgets.category_id WHERE (categories.deleted_at IS NULL) AND (categories_widgets.widget_id = 1 ) [0m
|
150
|
-
[4;35;1mWidget Count (0.000843)[0m [0mSELECT COUNT(*) FROM widgets WHERE ((title = 'widget 1') AND widgets.deleted_at IS NULL) [0m
|
151
|
-
[4;36;1mWidget Count (0.000765)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
152
|
-
[4;35;1mWidget Count (0.000702)[0m [0mSELECT COUNT(*) FROM widgets WHERE (title = 'deleted widget 2') [0m
|
153
|
-
[4;36;1mWidget Load (0.000971)[0m [0;1mSELECT * FROM widgets WHERE ((title = 'widget 1') AND widgets.deleted_at IS NULL) [0m
|
154
|
-
[4;35;1mWidget Load (0.000633)[0m [0mSELECT * FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
155
|
-
[4;36;1mWidget Load (0.000958)[0m [0;1mSELECT * FROM widgets WHERE (title = 'deleted widget 2') [0m
|
156
|
-
[4;35;1mWidget Count (0.000819)[0m [0mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
157
|
-
[4;36;1mCategory Count (0.001071)[0m [0;1mSELECT COUNT(*) FROM categories WHERE (categories.deleted_at IS NULL) [0m
|
158
|
-
[4;35;1mWidget Load (0.000910)[0m [0mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
159
|
-
[4;36;1mCategory Load (0.000873)[0m [0;1mSELECT * FROM categories WHERE (categories.deleted_at IS NULL) AND (categories.widget_id = 1) [0m
|
160
|
-
[4;35;1mSQL (0.002291)[0m [0mUPDATE categories SET deleted_at = '2005-12-20 21:39:32' WHERE id = 1[0m
|
161
|
-
[4;36;1mCategory Load (0.000758)[0m [0;1mSELECT * FROM categories LEFT JOIN categories_widgets ON categories.id = categories_widgets.category_id WHERE (categories.deleted_at IS NULL) AND (categories_widgets.widget_id = 1 ) [0m
|
162
|
-
[4;35;1mSQL (0.001042)[0m [0mUPDATE widgets SET deleted_at = '2005-12-20 21:39:32' WHERE id = 1[0m
|
163
|
-
[4;36;1mWidget Count (0.000735)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
164
|
-
[4;35;1mCategory Count (0.000806)[0m [0mSELECT COUNT(*) FROM categories WHERE (categories.deleted_at IS NULL) [0m
|
165
|
-
[4;36;1mWidget Count (0.000619)[0m [0;1mSELECT COUNT(*) FROM widgets [0m
|
166
|
-
[4;35;1mCategory Count (0.000691)[0m [0mSELECT COUNT(*) FROM categories [0m
|
167
|
-
[4;36;1mSQL (0.210229)[0m [0;1mDROP TABLE widgets[0m
|
168
|
-
[4;35;1mSQL (0.003330)[0m [0mCREATE TABLE widgets ("id" INTEGER PRIMARY KEY NOT NULL, "title" varchar(50), "category_id" integer, "deleted_at" datetime) [0m
|
169
|
-
[4;36;1mSQL (0.003780)[0m [0;1mDROP TABLE categories[0m
|
170
|
-
[4;35;1mSQL (0.003642)[0m [0mCREATE TABLE categories ("id" INTEGER PRIMARY KEY NOT NULL, "widget_id" integer, "title" varchar(50), "deleted_at" datetime) [0m
|
171
|
-
[4;36;1mSQL (0.003950)[0m [0;1mDROP TABLE categories_widgets[0m
|
172
|
-
[4;35;1mSQL (0.004232)[0m [0mCREATE TABLE categories_widgets ("category_id" integer, "widget_id" integer) [0m
|
173
|
-
[4;36;1mSQL (0.000000)[0m [0;1mSQLite::Exceptions::SQLException: table schema_info already exists: CREATE TABLE schema_info (version integer)[0m
|
174
|
-
[4;35;1mSQL (0.000678)[0m [0mPRAGMA table_info(schema_info)[0m
|
175
|
-
[4;36;1mSQL (0.004167)[0m [0;1mUPDATE schema_info SET version = 1[0m
|
176
|
-
[4;35;1mWidget Count (0.000944)[0m [0mSELECT COUNT(*) FROM widgets WHERE (title = 'deleted widget 2') [0m
|
177
|
-
[4;36;1mWidget Count (0.000789)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE (title = 'deleted widget 2') [0m
|
178
|
-
[4;35;1mWidget Count (0.000864)[0m [0mSELECT COUNT(*) FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
179
|
-
[4;36;1mWidget Count (0.000726)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
180
|
-
[4;35;1mWidget Load (0.000868)[0m [0mSELECT * FROM widgets WHERE (title = 'deleted widget 2') [0m
|
181
|
-
[4;36;1mSQL (0.001171)[0m [0;1mPRAGMA table_info(widgets)[0m
|
182
|
-
[4;35;1mWidget Load (0.000806)[0m [0mSELECT * FROM widgets WHERE (title = 'deleted widget 2') [0m
|
183
|
-
[4;36;1mWidget Load (0.000548)[0m [0;1mSELECT * FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
184
|
-
[4;35;1mWidget Load (0.000438)[0m [0mSELECT * FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
185
|
-
[4;36;1mWidget Count (0.000815)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
186
|
-
[4;35;1mCategory Count (0.001105)[0m [0mSELECT COUNT(*) FROM categories WHERE (categories.deleted_at IS NULL) [0m
|
187
|
-
[4;36;1mWidget Load (0.001050)[0m [0;1mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
188
|
-
[4;35;1mCategory Load (0.002607)[0m [0mSELECT * FROM categories WHERE (categories.deleted_at IS NULL) AND (categories.widget_id = 1) [0m
|
189
|
-
[4;36;1mSQL (0.001249)[0m [0;1mPRAGMA table_info(categories)[0m
|
190
|
-
[4;35;1mSQL (0.002234)[0m [0mUPDATE categories SET deleted_at = '2005-12-20 21:44:30' WHERE id = 1[0m
|
191
|
-
[4;36;1mWidget Destroy (0.000580)[0m [0;1m DELETE FROM widgets
|
192
|
-
WHERE id = 1
|
193
|
-
[0m
|
194
|
-
[4;35;1mWidget Count (0.001249)[0m [0mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
195
|
-
[4;36;1mCategory Count (0.000738)[0m [0;1mSELECT COUNT(*) FROM categories WHERE (categories.deleted_at IS NULL) [0m
|
196
|
-
[4;35;1mWidget Count (0.000588)[0m [0mSELECT COUNT(*) FROM widgets [0m
|
197
|
-
[4;36;1mCategory Count (0.000554)[0m [0;1mSELECT COUNT(*) FROM categories [0m
|
198
|
-
[4;35;1mCategory Load (0.000903)[0m [0mSELECT * FROM categories WHERE (categories.id = 3) LIMIT 1[0m
|
199
|
-
[4;36;1mWidget Load (0.000909)[0m [0;1mSELECT * FROM widgets WHERE (widgets.id = 2) LIMIT 1[0m
|
200
|
-
[4;35;1mCategory Load (0.000853)[0m [0mSELECT * FROM categories WHERE (categories.id = 3) LIMIT 1[0m
|
201
|
-
[4;36;1mWidget Load (0.000915)[0m [0;1mSELECT * FROM widgets WHERE (widgets.id = 2) LIMIT 1[0m
|
202
|
-
[4;35;1mCategory Load (0.001532)[0m [0mSELECT * FROM categories LEFT JOIN categories_widgets ON categories.id = categories_widgets.category_id WHERE (categories_widgets.widget_id = 2 ) [0m
|
203
|
-
[4;36;1mCategory Load (0.001280)[0m [0;1mSELECT * FROM categories LEFT JOIN categories_widgets ON categories.id = categories_widgets.category_id WHERE (categories_widgets.widget_id = 2 ) [0m
|
204
|
-
[4;35;1mWidget Load (0.001231)[0m [0mSELECT * FROM widgets WHERE (widgets.id = 2) LIMIT 1[0m
|
205
|
-
[4;36;1mCategory Load (0.001058)[0m [0;1mSELECT * FROM categories WHERE (categories.widget_id = 2) [0m
|
206
|
-
[4;35;1mCategory Load (0.000900)[0m [0mSELECT * FROM categories WHERE (categories.widget_id = 2) [0m
|
207
|
-
[4;36;1mCategory Load (0.000961)[0m [0;1mSELECT * FROM categories WHERE (categories.id = 3) LIMIT 1[0m
|
208
|
-
[4;35;1mWidget Load (0.000964)[0m [0mSELECT * FROM widgets WHERE (widgets.id = 2) LIMIT 1[0m
|
209
|
-
[4;36;1mCategory Load (0.000868)[0m [0;1mSELECT * FROM categories WHERE (categories.widget_id = 2) LIMIT 1[0m
|
210
|
-
[4;35;1mWidget Load (0.001039)[0m [0mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
211
|
-
[4;36;1mWidget Load (0.000991)[0m [0;1mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) LIMIT 1[0m
|
212
|
-
[4;35;1mWidget Load (0.000991)[0m [0mSELECT * FROM widgets ORDER BY id desc LIMIT 1[0m
|
213
|
-
[4;36;1mWidget Load (0.005053)[0m [0;1mSELECT * FROM widgets WHERE (widgets.id IN (1,2)) [0m
|
214
|
-
[4;35;1mWidget Load (0.001121)[0m [0mSELECT * FROM widgets WHERE (widgets.id IN (1,2)) [0m
|
215
|
-
[4;36;1mWidget Load (0.000906)[0m [0;1mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id IN (1,2)) [0m
|
216
|
-
[4;35;1mWidget Load (0.001375)[0m [0mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
217
|
-
[4;36;1mWidget Load (0.000816)[0m [0;1mSELECT * FROM widgets WHERE (widgets.id = 2) LIMIT 1[0m
|
218
|
-
[4;35;1mWidget Load (0.000636)[0m [0mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 2) LIMIT 1[0m
|
219
|
-
[4;36;1mWidget Load (0.001007)[0m [0;1mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
220
|
-
[4;35;1mWidget Count (0.000856)[0m [0mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
221
|
-
[4;36;1mWidget Count (0.000713)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) AND (title='widget 1') [0m
|
222
|
-
[4;35;1mWidget Count (0.000706)[0m [0mSELECT COUNT(*) FROM widgets [0m
|
223
|
-
[4;36;1mWidget Load (0.002784)[0m [0;1mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
224
|
-
[4;35;1mWidget Load (0.000833)[0m [0mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
225
|
-
[4;36;1mWidget Load (0.000929)[0m [0;1mSELECT * FROM widgets ORDER BY id [0m
|
226
|
-
[4;35;1mCategory Count (0.000941)[0m [0mSELECT COUNT(*) FROM categories WHERE (widget_id=1) [0m
|
227
|
-
[4;36;1mWidget Load (0.001205)[0m [0;1mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
228
|
-
[4;35;1mCategory Count (0.000903)[0m [0mSELECT COUNT(*) FROM categories WHERE (categories.deleted_at IS NULL) AND (categories.widget_id = 1) [0m
|
229
|
-
[4;36;1mCategory Load (0.000927)[0m [0;1mSELECT * FROM categories WHERE (categories.deleted_at IS NULL) AND (categories.id = 1) LIMIT 1[0m
|
230
|
-
[4;35;1mCategory Load (0.001126)[0m [0mSELECT * FROM categories WHERE (categories.deleted_at IS NULL) AND (categories.widget_id = 1) [0m
|
231
|
-
[4;36;1mCategory Load (0.001142)[0m [0;1mSELECT * FROM categories LEFT JOIN categories_widgets ON categories.id = categories_widgets.category_id WHERE (categories.deleted_at IS NULL) AND (categories_widgets.widget_id = 1 ) [0m
|
232
|
-
[4;35;1mWidget Count (0.000861)[0m [0mSELECT COUNT(*) FROM widgets WHERE ((title = 'widget 1') AND widgets.deleted_at IS NULL) [0m
|
233
|
-
[4;36;1mWidget Count (0.001137)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
234
|
-
[4;35;1mWidget Count (0.000751)[0m [0mSELECT COUNT(*) FROM widgets WHERE (title = 'deleted widget 2') [0m
|
235
|
-
[4;36;1mWidget Load (0.001057)[0m [0;1mSELECT * FROM widgets WHERE ((title = 'widget 1') AND widgets.deleted_at IS NULL) [0m
|
236
|
-
[4;35;1mWidget Load (0.000863)[0m [0mSELECT * FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
237
|
-
[4;36;1mWidget Load (0.000766)[0m [0;1mSELECT * FROM widgets WHERE (title = 'deleted widget 2') [0m
|
238
|
-
[4;35;1mWidget Count (0.001070)[0m [0mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
239
|
-
[4;36;1mCategory Count (0.000778)[0m [0;1mSELECT COUNT(*) FROM categories WHERE (categories.deleted_at IS NULL) [0m
|
240
|
-
[4;35;1mWidget Load (0.001988)[0m [0mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
241
|
-
[4;36;1mCategory Load (0.001206)[0m [0;1mSELECT * FROM categories WHERE (categories.deleted_at IS NULL) AND (categories.widget_id = 1) [0m
|
242
|
-
[4;35;1mSQL (0.002590)[0m [0mUPDATE categories SET deleted_at = '2005-12-20 21:44:31' WHERE id = 1[0m
|
243
|
-
[4;36;1mCategory Load (0.000771)[0m [0;1mSELECT * FROM categories LEFT JOIN categories_widgets ON categories.id = categories_widgets.category_id WHERE (categories.deleted_at IS NULL) AND (categories_widgets.widget_id = 1 ) [0m
|
244
|
-
[4;35;1mSQL (0.001006)[0m [0mUPDATE widgets SET deleted_at = '2005-12-20 21:44:31' WHERE id = 1[0m
|
245
|
-
[4;36;1mWidget Count (0.000783)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
246
|
-
[4;35;1mCategory Count (0.000767)[0m [0mSELECT COUNT(*) FROM categories WHERE (categories.deleted_at IS NULL) [0m
|
247
|
-
[4;36;1mWidget Count (0.001006)[0m [0;1mSELECT COUNT(*) FROM widgets [0m
|
248
|
-
[4;35;1mCategory Count (0.000614)[0m [0mSELECT COUNT(*) FROM categories [0m
|
249
|
-
[4;36;1mSQL (0.000000)[0m [0;1mMysql::Error: #42S02Unknown table 'widgets': DROP TABLE widgets[0m
|
250
|
-
[4;35;1mSQL (0.108845)[0m [0mCREATE TABLE widgets (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(50), `category_id` int(11), `deleted_at` datetime) ENGINE=InnoDB[0m
|
251
|
-
[4;36;1mSQL (0.000000)[0m [0;1mMysql::Error: #42S02Unknown table 'categories': DROP TABLE categories[0m
|
252
|
-
[4;35;1mSQL (0.303185)[0m [0mCREATE TABLE categories (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `widget_id` int(11), `title` varchar(50), `deleted_at` datetime) ENGINE=InnoDB[0m
|
253
|
-
[4;36;1mSQL (0.000000)[0m [0;1mMysql::Error: #42S02Unknown table 'categories_widgets': DROP TABLE categories_widgets[0m
|
254
|
-
[4;35;1mSQL (0.172973)[0m [0mCREATE TABLE categories_widgets (`category_id` int(11), `widget_id` int(11)) ENGINE=InnoDB[0m
|
255
|
-
[4;36;1mSQL (0.006421)[0m [0;1mCREATE TABLE schema_info (version int(11))[0m
|
256
|
-
[4;35;1mSQL (0.004668)[0m [0mINSERT INTO schema_info (version) VALUES(0)[0m
|
257
|
-
[4;36;1mSQL (0.001682)[0m [0;1mSHOW FIELDS FROM schema_info[0m
|
258
|
-
[4;35;1mSQL (0.001595)[0m [0mUPDATE schema_info SET version = 1[0m
|
259
|
-
[4;36;1mSQL (0.000589)[0m [0;1mBEGIN[0m
|
260
|
-
[4;35;1mWidget Count (0.013224)[0m [0mSELECT COUNT(*) FROM widgets WHERE (title = 'deleted widget 2') [0m
|
261
|
-
[4;36;1mWidget Count (0.001192)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE (title = 'deleted widget 2') [0m
|
262
|
-
[4;35;1mWidget Count (0.001308)[0m [0mSELECT COUNT(*) FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
263
|
-
[4;36;1mWidget Count (0.001093)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
264
|
-
[4;35;1mSQL (0.000604)[0m [0mROLLBACK[0m
|
265
|
-
[4;36;1mSQL (0.000334)[0m [0;1mBEGIN[0m
|
266
|
-
[4;35;1mWidget Load (0.001973)[0m [0mSELECT * FROM widgets WHERE (title = 'deleted widget 2') [0m
|
267
|
-
[4;36;1mWidget Columns (0.002095)[0m [0;1mSHOW FIELDS FROM widgets[0m
|
268
|
-
[4;35;1mWidget Load (0.001684)[0m [0mSELECT * FROM widgets WHERE (title = 'deleted widget 2') [0m
|
269
|
-
[4;36;1mWidget Load (0.001665)[0m [0;1mSELECT * FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
270
|
-
[4;35;1mWidget Load (0.001676)[0m [0mSELECT * FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
271
|
-
[4;36;1mSQL (0.000559)[0m [0;1mROLLBACK[0m
|
272
|
-
[4;35;1mSQL (0.000336)[0m [0mBEGIN[0m
|
273
|
-
[4;36;1mWidget Count (0.001010)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
274
|
-
[4;35;1mCategory Count (0.002666)[0m [0mSELECT COUNT(*) FROM categories WHERE (categories.deleted_at IS NULL) [0m
|
275
|
-
[4;36;1mWidget Load (0.001892)[0m [0;1mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
276
|
-
[4;35;1mCategory Load (0.002059)[0m [0mSELECT * FROM categories WHERE (categories.deleted_at IS NULL) AND (categories.widget_id = 1) [0m
|
277
|
-
[4;36;1mCategory Columns (0.002128)[0m [0;1mSHOW FIELDS FROM categories[0m
|
278
|
-
[4;35;1mSQL (0.000912)[0m [0mUPDATE categories SET deleted_at = '2005-12-20 21:45:30' WHERE id = 1[0m
|
279
|
-
[4;36;1mWidget Destroy (0.000891)[0m [0;1m DELETE FROM widgets
|
280
|
-
WHERE id = 1
|
281
|
-
[0m
|
282
|
-
[4;35;1mWidget Count (0.001090)[0m [0mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
283
|
-
[4;36;1mCategory Count (0.001992)[0m [0;1mSELECT COUNT(*) FROM categories WHERE (categories.deleted_at IS NULL) [0m
|
284
|
-
[4;35;1mWidget Count (0.001052)[0m [0mSELECT COUNT(*) FROM widgets [0m
|
285
|
-
[4;36;1mCategory Count (0.001006)[0m [0;1mSELECT COUNT(*) FROM categories [0m
|
286
|
-
[4;35;1mSQL (0.143604)[0m [0mROLLBACK[0m
|
287
|
-
[4;36;1mSQL (0.000351)[0m [0;1mBEGIN[0m
|
288
|
-
[4;35;1mCategory Load (0.009769)[0m [0mSELECT * FROM categories WHERE (categories.id = 3) LIMIT 1[0m
|
289
|
-
[4;36;1mWidget Load (0.001594)[0m [0;1mSELECT * FROM widgets WHERE (widgets.id = 2) LIMIT 1[0m
|
290
|
-
[4;35;1mCategory Load (0.002851)[0m [0mSELECT * FROM categories WHERE (categories.id = 3) LIMIT 1[0m
|
291
|
-
[4;36;1mSQL (0.000602)[0m [0;1mROLLBACK[0m
|
292
|
-
[4;35;1mSQL (0.000329)[0m [0mBEGIN[0m
|
293
|
-
[4;36;1mWidget Load (0.005816)[0m [0;1mSELECT * FROM widgets WHERE (widgets.id = 2) LIMIT 1[0m
|
294
|
-
[4;35;1mCategory Load (0.002254)[0m [0mSELECT * FROM categories LEFT JOIN categories_widgets ON categories.id = categories_widgets.category_id WHERE (categories_widgets.widget_id = 2 ) [0m
|
295
|
-
[4;36;1mCategory Load (0.005368)[0m [0;1mSELECT * FROM categories LEFT JOIN categories_widgets ON categories.id = categories_widgets.category_id WHERE (categories_widgets.widget_id = 2 ) [0m
|
296
|
-
[4;35;1mSQL (0.000594)[0m [0mROLLBACK[0m
|
297
|
-
[4;36;1mSQL (0.000376)[0m [0;1mBEGIN[0m
|
298
|
-
[4;35;1mWidget Load (0.001559)[0m [0mSELECT * FROM widgets WHERE (widgets.id = 2) LIMIT 1[0m
|
299
|
-
[4;36;1mCategory Load (0.001999)[0m [0;1mSELECT * FROM categories WHERE (categories.widget_id = 2) [0m
|
300
|
-
[4;35;1mCategory Load (0.003359)[0m [0mSELECT * FROM categories WHERE (categories.widget_id = 2) [0m
|
301
|
-
[4;36;1mSQL (0.000586)[0m [0;1mROLLBACK[0m
|
302
|
-
[4;35;1mSQL (0.000329)[0m [0mBEGIN[0m
|
303
|
-
[4;36;1mCategory Load (0.001557)[0m [0;1mSELECT * FROM categories WHERE (categories.id = 3) LIMIT 1[0m
|
304
|
-
[4;35;1mWidget Load (0.001641)[0m [0mSELECT * FROM widgets WHERE (widgets.id = 2) LIMIT 1[0m
|
305
|
-
[4;36;1mCategory Load (0.001709)[0m [0;1mSELECT * FROM categories WHERE (categories.widget_id = 2) LIMIT 1[0m
|
306
|
-
[4;35;1mSQL (0.000808)[0m [0mROLLBACK[0m
|
307
|
-
[4;36;1mSQL (0.000404)[0m [0;1mBEGIN[0m
|
308
|
-
[4;35;1mWidget Load (0.001848)[0m [0mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
309
|
-
[4;36;1mWidget Load (0.004493)[0m [0;1mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) LIMIT 1[0m
|
310
|
-
[4;35;1mWidget Load (0.016891)[0m [0mSELECT * FROM widgets ORDER BY id desc LIMIT 1[0m
|
311
|
-
[4;36;1mSQL (0.000806)[0m [0;1mROLLBACK[0m
|
312
|
-
[4;35;1mSQL (0.000326)[0m [0mBEGIN[0m
|
313
|
-
[4;36;1mWidget Load (0.008019)[0m [0;1mSELECT * FROM widgets WHERE (widgets.id IN (1,2)) [0m
|
314
|
-
[4;35;1mWidget Load (0.003361)[0m [0mSELECT * FROM widgets WHERE (widgets.id IN (1,2)) [0m
|
315
|
-
[4;36;1mWidget Load (0.001786)[0m [0;1mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id IN (1,2)) [0m
|
316
|
-
[4;35;1mSQL (0.000747)[0m [0mROLLBACK[0m
|
317
|
-
[4;36;1mSQL (0.000361)[0m [0;1mBEGIN[0m
|
318
|
-
[4;35;1mWidget Load (0.005606)[0m [0mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
319
|
-
[4;36;1mWidget Load (0.001651)[0m [0;1mSELECT * FROM widgets WHERE (widgets.id = 2) LIMIT 1[0m
|
320
|
-
[4;35;1mWidget Load (0.001789)[0m [0mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 2) LIMIT 1[0m
|
321
|
-
[4;36;1mSQL (0.000559)[0m [0;1mROLLBACK[0m
|
322
|
-
[4;35;1mSQL (0.000339)[0m [0mBEGIN[0m
|
323
|
-
[4;36;1mSQL (0.000379)[0m [0;1mROLLBACK[0m
|
324
|
-
[4;35;1mSQL (0.008059)[0m [0mBEGIN[0m
|
325
|
-
[4;36;1mWidget Load (0.001700)[0m [0;1mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
326
|
-
[4;35;1mSQL (0.000574)[0m [0mROLLBACK[0m
|
327
|
-
[4;36;1mSQL (0.000359)[0m [0;1mBEGIN[0m
|
328
|
-
[4;35;1mWidget Count (0.001354)[0m [0mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
329
|
-
[4;36;1mWidget Count (0.001362)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) AND (title='widget 1') [0m
|
330
|
-
[4;35;1mWidget Count (0.000998)[0m [0mSELECT COUNT(*) FROM widgets [0m
|
331
|
-
[4;36;1mSQL (0.000501)[0m [0;1mROLLBACK[0m
|
332
|
-
[4;35;1mSQL (0.000337)[0m [0mBEGIN[0m
|
333
|
-
[4;36;1mWidget Load (0.005722)[0m [0;1mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
334
|
-
[4;35;1mWidget Load (0.002523)[0m [0mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
335
|
-
[4;36;1mWidget Load (0.001704)[0m [0;1mSELECT * FROM widgets ORDER BY id [0m
|
336
|
-
[4;35;1mSQL (0.000594)[0m [0mROLLBACK[0m
|
337
|
-
[4;36;1mSQL (0.000368)[0m [0;1mBEGIN[0m
|
338
|
-
[4;35;1mCategory Count (0.001128)[0m [0mSELECT COUNT(*) FROM categories WHERE (widget_id=1) [0m
|
339
|
-
[4;36;1mWidget Load (0.098541)[0m [0;1mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
340
|
-
[4;35;1mCategory Count (0.001304)[0m [0mSELECT COUNT(*) FROM categories WHERE (categories.deleted_at IS NULL) AND (categories.widget_id = 1) [0m
|
341
|
-
[4;36;1mCategory Load (0.001751)[0m [0;1mSELECT * FROM categories WHERE (categories.deleted_at IS NULL) AND (categories.id = 1) LIMIT 1[0m
|
342
|
-
[4;35;1mCategory Load (0.001690)[0m [0mSELECT * FROM categories WHERE (categories.deleted_at IS NULL) AND (categories.widget_id = 1) [0m
|
343
|
-
[4;36;1mCategory Load (0.003320)[0m [0;1mSELECT * FROM categories LEFT JOIN categories_widgets ON categories.id = categories_widgets.category_id WHERE (categories.deleted_at IS NULL) AND (categories_widgets.widget_id = 1 ) [0m
|
344
|
-
[4;35;1mSQL (0.000581)[0m [0mROLLBACK[0m
|
345
|
-
[4;36;1mSQL (0.000318)[0m [0;1mBEGIN[0m
|
346
|
-
[4;35;1mWidget Count (0.001108)[0m [0mSELECT COUNT(*) FROM widgets WHERE ((title = 'widget 1') AND widgets.deleted_at IS NULL) [0m
|
347
|
-
[4;36;1mWidget Count (0.006215)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
348
|
-
[4;35;1mWidget Count (0.001340)[0m [0mSELECT COUNT(*) FROM widgets WHERE (title = 'deleted widget 2') [0m
|
349
|
-
[4;36;1mSQL (0.000529)[0m [0;1mROLLBACK[0m
|
350
|
-
[4;35;1mSQL (0.000323)[0m [0mBEGIN[0m
|
351
|
-
[4;36;1mWidget Load (0.004626)[0m [0;1mSELECT * FROM widgets WHERE ((title = 'widget 1') AND widgets.deleted_at IS NULL) [0m
|
352
|
-
[4;35;1mWidget Load (0.001954)[0m [0mSELECT * FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
353
|
-
[4;36;1mWidget Load (0.001696)[0m [0;1mSELECT * FROM widgets WHERE (title = 'deleted widget 2') [0m
|
354
|
-
[4;35;1mSQL (0.000560)[0m [0mROLLBACK[0m
|
355
|
-
[4;36;1mSQL (0.000325)[0m [0;1mBEGIN[0m
|
356
|
-
[4;35;1mWidget Count (0.001016)[0m [0mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
357
|
-
[4;36;1mCategory Count (0.000923)[0m [0;1mSELECT COUNT(*) FROM categories WHERE (categories.deleted_at IS NULL) [0m
|
358
|
-
[4;35;1mWidget Load (0.005375)[0m [0mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
359
|
-
[4;36;1mCategory Load (0.002086)[0m [0;1mSELECT * FROM categories WHERE (categories.deleted_at IS NULL) AND (categories.widget_id = 1) [0m
|
360
|
-
[4;35;1mSQL (0.003609)[0m [0mUPDATE categories SET deleted_at = '2005-12-20 21:45:31' WHERE id = 1[0m
|
361
|
-
[4;36;1mCategory Load (0.002191)[0m [0;1mSELECT * FROM categories LEFT JOIN categories_widgets ON categories.id = categories_widgets.category_id WHERE (categories.deleted_at IS NULL) AND (categories_widgets.widget_id = 1 ) [0m
|
362
|
-
[4;35;1mSQL (0.000967)[0m [0mUPDATE widgets SET deleted_at = '2005-12-20 21:45:31' WHERE id = 1[0m
|
363
|
-
[4;36;1mWidget Count (0.001056)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
364
|
-
[4;35;1mCategory Count (0.001107)[0m [0mSELECT COUNT(*) FROM categories WHERE (categories.deleted_at IS NULL) [0m
|
365
|
-
[4;36;1mWidget Count (0.001105)[0m [0;1mSELECT COUNT(*) FROM widgets [0m
|
366
|
-
[4;35;1mCategory Count (0.000939)[0m [0mSELECT COUNT(*) FROM categories [0m
|
367
|
-
[4;36;1mSQL (0.049515)[0m [0;1mROLLBACK[0m
|
368
|
-
[4;36;1mSQL (0.005008)[0m [0;1mDROP TABLE widgets[0m
|
369
|
-
[4;35;1mSQL (0.003520)[0m [0mCREATE TABLE widgets ("id" INTEGER PRIMARY KEY NOT NULL, "title" varchar(50), "category_id" integer, "deleted_at" datetime) [0m
|
370
|
-
[4;36;1mSQL (0.003360)[0m [0;1mDROP TABLE categories[0m
|
371
|
-
[4;35;1mSQL (0.003970)[0m [0mCREATE TABLE categories ("id" INTEGER PRIMARY KEY NOT NULL, "widget_id" integer, "title" varchar(50), "deleted_at" datetime) [0m
|
372
|
-
[4;36;1mSQL (0.005072)[0m [0;1mDROP TABLE categories_widgets[0m
|
373
|
-
[4;35;1mSQL (0.004037)[0m [0mCREATE TABLE categories_widgets ("category_id" integer, "widget_id" integer) [0m
|
374
|
-
[4;36;1mSQL (0.000000)[0m [0;1mSQLite::Exceptions::SQLException: table schema_info already exists: CREATE TABLE schema_info (version integer)[0m
|
375
|
-
[4;35;1mSQL (0.000672)[0m [0mPRAGMA table_info(schema_info)[0m
|
376
|
-
[4;36;1mSQL (0.004726)[0m [0;1mUPDATE schema_info SET version = 1[0m
|
377
|
-
[4;35;1mWidget Count (0.000908)[0m [0mSELECT COUNT(*) FROM widgets WHERE (title = 'deleted widget 2') [0m
|
378
|
-
[4;36;1mWidget Count (0.000817)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE (title = 'deleted widget 2') [0m
|
379
|
-
[4;35;1mWidget Count (0.000806)[0m [0mSELECT COUNT(*) FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
380
|
-
[4;36;1mWidget Count (0.000705)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
381
|
-
[4;35;1mWidget Load (0.000838)[0m [0mSELECT * FROM widgets WHERE (title = 'deleted widget 2') [0m
|
382
|
-
[4;36;1mSQL (0.001213)[0m [0;1mPRAGMA table_info(widgets)[0m
|
383
|
-
[4;35;1mWidget Load (0.000967)[0m [0mSELECT * FROM widgets WHERE (title = 'deleted widget 2') [0m
|
384
|
-
[4;36;1mWidget Load (0.000550)[0m [0;1mSELECT * FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
385
|
-
[4;35;1mWidget Load (0.000454)[0m [0mSELECT * FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
386
|
-
[4;36;1mWidget Count (0.000929)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
387
|
-
[4;35;1mCategory Count (0.000765)[0m [0mSELECT COUNT(*) FROM categories WHERE (categories.deleted_at IS NULL) [0m
|
388
|
-
[4;36;1mWidget Load (0.001055)[0m [0;1mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
389
|
-
[4;35;1mCategory Load (0.000881)[0m [0mSELECT * FROM categories WHERE (categories.deleted_at IS NULL) AND (categories.widget_id = 1) [0m
|
390
|
-
[4;36;1mSQL (0.001236)[0m [0;1mPRAGMA table_info(categories)[0m
|
391
|
-
[4;35;1mSQL (0.052966)[0m [0mUPDATE categories SET deleted_at = '2005-12-20 21:53:01' WHERE id = 1[0m
|
392
|
-
[4;36;1mWidget Destroy (0.000508)[0m [0;1m DELETE FROM widgets
|
393
|
-
WHERE id = 1
|
394
|
-
[0m
|
395
|
-
[4;35;1mWidget Count (0.000708)[0m [0mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
396
|
-
[4;36;1mCategory Count (0.000690)[0m [0;1mSELECT COUNT(*) FROM categories WHERE (categories.deleted_at IS NULL) [0m
|
397
|
-
[4;35;1mWidget Count (0.000748)[0m [0mSELECT COUNT(*) FROM widgets [0m
|
398
|
-
[4;36;1mCategory Count (0.000607)[0m [0;1mSELECT COUNT(*) FROM categories [0m
|
399
|
-
[4;35;1mCategory Load (0.000998)[0m [0mSELECT * FROM categories WHERE (categories.id = 3) LIMIT 1[0m
|
400
|
-
[4;36;1mWidget Load (0.000833)[0m [0;1mSELECT * FROM widgets WHERE (widgets.id = 2) LIMIT 1[0m
|
401
|
-
[4;35;1mCategory Load (0.000631)[0m [0mSELECT * FROM categories WHERE (categories.deleted_at IS NULL) AND (categories.id = 3) LIMIT 1[0m
|
402
|
-
[4;36;1mWidget Load (0.000882)[0m [0;1mSELECT * FROM widgets WHERE (widgets.id = 2) LIMIT 1[0m
|
403
|
-
[4;35;1mCategory Load (0.000839)[0m [0mSELECT * FROM categories LEFT JOIN categories_widgets ON categories.id = categories_widgets.category_id WHERE (categories.deleted_at IS NULL) AND (categories_widgets.widget_id = 2 ) [0m
|
404
|
-
[4;36;1mWidget Load (0.000935)[0m [0;1mSELECT * FROM widgets WHERE (widgets.id = 2) LIMIT 1[0m
|
405
|
-
[4;35;1mCategory Load (0.000707)[0m [0mSELECT * FROM categories WHERE (categories.deleted_at IS NULL) AND (categories.widget_id = 2) [0m
|
406
|
-
[4;36;1mCategory Load (0.001094)[0m [0;1mSELECT * FROM categories WHERE (categories.id = 3) LIMIT 1[0m
|
407
|
-
[4;35;1mWidget Load (0.000917)[0m [0mSELECT * FROM widgets WHERE (widgets.id = 2) LIMIT 1[0m
|
408
|
-
[4;36;1mCategory Load (0.000583)[0m [0;1mSELECT * FROM categories WHERE (categories.deleted_at IS NULL) AND (categories.widget_id = 2) LIMIT 1[0m
|
409
|
-
[4;35;1mWidget Load (0.000998)[0m [0mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
410
|
-
[4;36;1mWidget Load (0.000775)[0m [0;1mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) LIMIT 1[0m
|
411
|
-
[4;35;1mWidget Load (0.000859)[0m [0mSELECT * FROM widgets ORDER BY id desc LIMIT 1[0m
|
412
|
-
[4;36;1mWidget Load (0.001161)[0m [0;1mSELECT * FROM widgets WHERE (widgets.id IN (1,2)) [0m
|
413
|
-
[4;35;1mWidget Load (0.001224)[0m [0mSELECT * FROM widgets WHERE (widgets.id IN (1,2)) [0m
|
414
|
-
[4;36;1mWidget Load (0.001236)[0m [0;1mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id IN (1,2)) [0m
|
415
|
-
[4;35;1mWidget Load (0.001001)[0m [0mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
416
|
-
[4;36;1mWidget Load (0.000897)[0m [0;1mSELECT * FROM widgets WHERE (widgets.id = 2) LIMIT 1[0m
|
417
|
-
[4;35;1mWidget Load (0.000630)[0m [0mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 2) LIMIT 1[0m
|
418
|
-
[4;36;1mWidget Load (0.000938)[0m [0;1mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
419
|
-
[4;35;1mWidget Count (0.001208)[0m [0mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
420
|
-
[4;36;1mWidget Count (0.000845)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) AND (title='widget 1') [0m
|
421
|
-
[4;35;1mWidget Count (0.000822)[0m [0mSELECT COUNT(*) FROM widgets [0m
|
422
|
-
[4;36;1mWidget Load (0.003749)[0m [0;1mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
423
|
-
[4;35;1mWidget Load (0.000808)[0m [0mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
424
|
-
[4;36;1mWidget Load (0.000984)[0m [0;1mSELECT * FROM widgets ORDER BY id [0m
|
425
|
-
[4;35;1mCategory Count (0.000926)[0m [0mSELECT COUNT(*) FROM categories WHERE (widget_id=1) [0m
|
426
|
-
[4;36;1mWidget Load (0.001002)[0m [0;1mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
427
|
-
[4;35;1mCategory Count (0.000819)[0m [0mSELECT COUNT(*) FROM categories WHERE (categories.deleted_at IS NULL) AND (categories.widget_id = 1) [0m
|
428
|
-
[4;36;1mCategory Load (0.003591)[0m [0;1mSELECT * FROM categories WHERE (categories.deleted_at IS NULL) AND (categories.id = 1) LIMIT 1[0m
|
429
|
-
[4;35;1mCategory Load (0.000804)[0m [0mSELECT * FROM categories WHERE (categories.deleted_at IS NULL) AND (categories.widget_id = 1) [0m
|
430
|
-
[4;36;1mCategory Load (0.001173)[0m [0;1mSELECT * FROM categories LEFT JOIN categories_widgets ON categories.id = categories_widgets.category_id WHERE (categories.deleted_at IS NULL) AND (categories_widgets.widget_id = 1 ) [0m
|
431
|
-
[4;35;1mWidget Count (0.000857)[0m [0mSELECT COUNT(*) FROM widgets WHERE ((title = 'widget 1') AND widgets.deleted_at IS NULL) [0m
|
432
|
-
[4;36;1mWidget Count (0.000850)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
433
|
-
[4;35;1mWidget Count (0.000645)[0m [0mSELECT COUNT(*) FROM widgets WHERE (title = 'deleted widget 2') [0m
|
434
|
-
[4;36;1mWidget Load (0.004564)[0m [0;1mSELECT * FROM widgets WHERE ((title = 'widget 1') AND widgets.deleted_at IS NULL) [0m
|
435
|
-
[4;35;1mWidget Load (0.000641)[0m [0mSELECT * FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
436
|
-
[4;36;1mWidget Load (0.000724)[0m [0;1mSELECT * FROM widgets WHERE (title = 'deleted widget 2') [0m
|
437
|
-
[4;35;1mWidget Count (0.000880)[0m [0mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
438
|
-
[4;36;1mCategory Count (0.000750)[0m [0;1mSELECT COUNT(*) FROM categories WHERE (categories.deleted_at IS NULL) [0m
|
439
|
-
[4;35;1mWidget Load (0.000922)[0m [0mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
440
|
-
[4;36;1mCategory Load (0.000921)[0m [0;1mSELECT * FROM categories WHERE (categories.deleted_at IS NULL) AND (categories.widget_id = 1) [0m
|
441
|
-
[4;35;1mSQL (0.002290)[0m [0mUPDATE categories SET deleted_at = '2005-12-20 21:53:02' WHERE id = 1[0m
|
442
|
-
[4;36;1mCategory Load (0.000761)[0m [0;1mSELECT * FROM categories LEFT JOIN categories_widgets ON categories.id = categories_widgets.category_id WHERE (categories.deleted_at IS NULL) AND (categories_widgets.widget_id = 1 ) [0m
|
443
|
-
[4;35;1mSQL (0.001884)[0m [0mUPDATE widgets SET deleted_at = '2005-12-20 21:53:02' WHERE id = 1[0m
|
444
|
-
[4;36;1mWidget Count (0.000825)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
445
|
-
[4;35;1mCategory Count (0.000664)[0m [0mSELECT COUNT(*) FROM categories WHERE (categories.deleted_at IS NULL) [0m
|
446
|
-
[4;36;1mWidget Count (0.000579)[0m [0;1mSELECT COUNT(*) FROM widgets [0m
|
447
|
-
[4;35;1mCategory Count (0.000657)[0m [0mSELECT COUNT(*) FROM categories [0m
|
448
|
-
[4;36;1mSQL (0.275146)[0m [0;1mDROP TABLE widgets[0m
|
449
|
-
[4;35;1mSQL (0.003831)[0m [0mCREATE TABLE widgets ("id" INTEGER PRIMARY KEY NOT NULL, "title" varchar(50), "category_id" integer, "deleted_at" datetime) [0m
|
450
|
-
[4;36;1mSQL (0.003815)[0m [0;1mDROP TABLE categories[0m
|
451
|
-
[4;35;1mSQL (0.003818)[0m [0mCREATE TABLE categories ("id" INTEGER PRIMARY KEY NOT NULL, "widget_id" integer, "title" varchar(50), "deleted_at" datetime) [0m
|
452
|
-
[4;36;1mSQL (0.004017)[0m [0;1mDROP TABLE categories_widgets[0m
|
453
|
-
[4;35;1mSQL (0.004034)[0m [0mCREATE TABLE categories_widgets ("category_id" integer, "widget_id" integer) [0m
|
454
|
-
[4;36;1mSQL (0.000000)[0m [0;1mSQLite::Exceptions::SQLException: table schema_info already exists: CREATE TABLE schema_info (version integer)[0m
|
455
|
-
[4;35;1mSQL (0.000688)[0m [0mPRAGMA table_info(schema_info)[0m
|
456
|
-
[4;36;1mSQL (0.003865)[0m [0;1mUPDATE schema_info SET version = 1[0m
|
457
|
-
[4;35;1mWidget Count (0.000927)[0m [0mSELECT COUNT(*) FROM widgets WHERE (title = 'deleted widget 2') [0m
|
458
|
-
[4;36;1mWidget Count (0.000671)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE (title = 'deleted widget 2') [0m
|
459
|
-
[4;35;1mWidget Count (0.001255)[0m [0mSELECT COUNT(*) FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
460
|
-
[4;36;1mWidget Count (0.001000)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
461
|
-
[4;35;1mWidget Load (0.001039)[0m [0mSELECT * FROM widgets WHERE (title = 'deleted widget 2') [0m
|
462
|
-
[4;36;1mSQL (0.001233)[0m [0;1mPRAGMA table_info(widgets)[0m
|
463
|
-
[4;35;1mWidget Load (0.000788)[0m [0mSELECT * FROM widgets WHERE (title = 'deleted widget 2') [0m
|
464
|
-
[4;36;1mWidget Load (0.000535)[0m [0;1mSELECT * FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
465
|
-
[4;35;1mWidget Load (0.000451)[0m [0mSELECT * FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
466
|
-
[4;36;1mWidget Count (0.000852)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
467
|
-
[4;35;1mCategory Count (0.000791)[0m [0mSELECT COUNT(*) FROM categories WHERE (categories.deleted_at IS NULL) [0m
|
468
|
-
[4;36;1mWidget Load (0.049942)[0m [0;1mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
469
|
-
[4;35;1mCategory Load (0.000908)[0m [0mSELECT * FROM categories WHERE (categories.deleted_at IS NULL) AND (categories.widget_id = 1) [0m
|
470
|
-
[4;36;1mSQL (0.001520)[0m [0;1mPRAGMA table_info(categories)[0m
|
471
|
-
[4;35;1mSQL (0.002254)[0m [0mUPDATE categories SET deleted_at = '2005-12-20 21:53:30' WHERE id = 1[0m
|
472
|
-
[4;36;1mWidget Destroy (0.000502)[0m [0;1m DELETE FROM widgets
|
473
|
-
WHERE id = 1
|
474
|
-
[0m
|
475
|
-
[4;35;1mWidget Count (0.000735)[0m [0mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
476
|
-
[4;36;1mCategory Count (0.000702)[0m [0;1mSELECT COUNT(*) FROM categories WHERE (categories.deleted_at IS NULL) [0m
|
477
|
-
[4;35;1mWidget Count (0.000669)[0m [0mSELECT COUNT(*) FROM widgets [0m
|
478
|
-
[4;36;1mCategory Count (0.000686)[0m [0;1mSELECT COUNT(*) FROM categories [0m
|
479
|
-
[4;35;1mWidget Load (0.001010)[0m [0mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
480
|
-
[4;36;1mWidget Load (0.000838)[0m [0;1mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) LIMIT 1[0m
|
481
|
-
[4;35;1mWidget Load (0.000860)[0m [0mSELECT * FROM widgets ORDER BY id desc LIMIT 1[0m
|
482
|
-
[4;36;1mWidget Load (0.001065)[0m [0;1mSELECT * FROM widgets WHERE (widgets.id IN (1,2)) [0m
|
483
|
-
[4;35;1mWidget Load (0.000944)[0m [0mSELECT * FROM widgets WHERE (widgets.id IN (1,2)) [0m
|
484
|
-
[4;36;1mWidget Load (0.000920)[0m [0;1mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id IN (1,2)) [0m
|
485
|
-
[4;35;1mWidget Load (0.001846)[0m [0mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
486
|
-
[4;36;1mWidget Load (0.001001)[0m [0;1mSELECT * FROM widgets WHERE (widgets.id = 2) LIMIT 1[0m
|
487
|
-
[4;35;1mWidget Load (0.000623)[0m [0mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 2) LIMIT 1[0m
|
488
|
-
[4;36;1mWidget Load (0.001035)[0m [0;1mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
489
|
-
[4;35;1mWidget Count (0.000861)[0m [0mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
490
|
-
[4;36;1mWidget Count (0.000790)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) AND (title='widget 1') [0m
|
491
|
-
[4;35;1mWidget Count (0.000603)[0m [0mSELECT COUNT(*) FROM widgets [0m
|
492
|
-
[4;36;1mWidget Load (0.001003)[0m [0;1mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
493
|
-
[4;35;1mWidget Load (0.000786)[0m [0mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
494
|
-
[4;36;1mWidget Load (0.000986)[0m [0;1mSELECT * FROM widgets ORDER BY id [0m
|
495
|
-
[4;35;1mCategory Count (0.000866)[0m [0mSELECT COUNT(*) FROM categories WHERE (widget_id=1) [0m
|
496
|
-
[4;36;1mWidget Load (0.001120)[0m [0;1mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
497
|
-
[4;35;1mCategory Count (0.000917)[0m [0mSELECT COUNT(*) FROM categories WHERE (categories.deleted_at IS NULL) AND (categories.widget_id = 1) [0m
|
498
|
-
[4;36;1mCategory Load (0.000906)[0m [0;1mSELECT * FROM categories WHERE (categories.deleted_at IS NULL) AND (categories.id = 1) LIMIT 1[0m
|
499
|
-
[4;35;1mCategory Load (0.000817)[0m [0mSELECT * FROM categories WHERE (categories.deleted_at IS NULL) AND (categories.widget_id = 1) [0m
|
500
|
-
[4;36;1mCategory Load (0.001348)[0m [0;1mSELECT * FROM categories LEFT JOIN categories_widgets ON categories.id = categories_widgets.category_id WHERE (categories.deleted_at IS NULL) AND (categories_widgets.widget_id = 1 ) [0m
|
501
|
-
[4;35;1mWidget Count (0.000875)[0m [0mSELECT COUNT(*) FROM widgets WHERE ((title = 'widget 1') AND widgets.deleted_at IS NULL) [0m
|
502
|
-
[4;36;1mWidget Count (0.000882)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
503
|
-
[4;35;1mWidget Count (0.000702)[0m [0mSELECT COUNT(*) FROM widgets WHERE (title = 'deleted widget 2') [0m
|
504
|
-
[4;36;1mWidget Load (0.001072)[0m [0;1mSELECT * FROM widgets WHERE ((title = 'widget 1') AND widgets.deleted_at IS NULL) [0m
|
505
|
-
[4;35;1mWidget Load (0.000611)[0m [0mSELECT * FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
506
|
-
[4;36;1mWidget Load (0.000761)[0m [0;1mSELECT * FROM widgets WHERE (title = 'deleted widget 2') [0m
|
507
|
-
[4;35;1mWidget Count (0.000847)[0m [0mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
508
|
-
[4;36;1mCategory Count (0.000773)[0m [0;1mSELECT COUNT(*) FROM categories WHERE (categories.deleted_at IS NULL) [0m
|
509
|
-
[4;35;1mWidget Load (0.001318)[0m [0mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
510
|
-
[4;36;1mCategory Load (0.001015)[0m [0;1mSELECT * FROM categories WHERE (categories.deleted_at IS NULL) AND (categories.widget_id = 1) [0m
|
511
|
-
[4;35;1mSQL (0.002528)[0m [0mUPDATE categories SET deleted_at = '2005-12-20 21:53:30' WHERE id = 1[0m
|
512
|
-
[4;36;1mCategory Load (0.000723)[0m [0;1mSELECT * FROM categories LEFT JOIN categories_widgets ON categories.id = categories_widgets.category_id WHERE (categories.deleted_at IS NULL) AND (categories_widgets.widget_id = 1 ) [0m
|
513
|
-
[4;35;1mSQL (0.000982)[0m [0mUPDATE widgets SET deleted_at = '2005-12-20 21:53:30' WHERE id = 1[0m
|
514
|
-
[4;36;1mWidget Count (0.000834)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
515
|
-
[4;35;1mCategory Count (0.000978)[0m [0mSELECT COUNT(*) FROM categories WHERE (categories.deleted_at IS NULL) [0m
|
516
|
-
[4;36;1mWidget Count (0.000710)[0m [0;1mSELECT COUNT(*) FROM widgets [0m
|
517
|
-
[4;35;1mCategory Count (0.000644)[0m [0mSELECT COUNT(*) FROM categories [0m
|
518
|
-
[4;36;1mSQL (0.005208)[0m [0;1mDROP TABLE widgets[0m
|
519
|
-
[4;35;1mSQL (0.003828)[0m [0mCREATE TABLE widgets ("id" INTEGER PRIMARY KEY NOT NULL, "title" varchar(50), "category_id" integer, "deleted_at" datetime) [0m
|
520
|
-
[4;36;1mSQL (0.003297)[0m [0;1mDROP TABLE categories[0m
|
521
|
-
[4;35;1mSQL (0.003368)[0m [0mCREATE TABLE categories ("id" INTEGER PRIMARY KEY NOT NULL, "widget_id" integer, "title" varchar(50), "deleted_at" datetime) [0m
|
522
|
-
[4;36;1mSQL (0.003747)[0m [0;1mDROP TABLE categories_widgets[0m
|
523
|
-
[4;35;1mSQL (0.003895)[0m [0mCREATE TABLE categories_widgets ("category_id" integer, "widget_id" integer) [0m
|
524
|
-
[4;36;1mSQL (0.000000)[0m [0;1mSQLite::Exceptions::SQLException: table schema_info already exists: CREATE TABLE schema_info (version integer)[0m
|
525
|
-
[4;35;1mSQL (0.000675)[0m [0mPRAGMA table_info(schema_info)[0m
|
526
|
-
[4;36;1mSQL (0.003291)[0m [0;1mUPDATE schema_info SET version = 1[0m
|
527
|
-
[4;35;1mWidget Count (0.000976)[0m [0mSELECT COUNT(*) FROM widgets WHERE (title = 'deleted widget 2') [0m
|
528
|
-
[4;36;1mWidget Count (0.000680)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE (title = 'deleted widget 2') [0m
|
529
|
-
[4;35;1mWidget Count (0.000883)[0m [0mSELECT COUNT(*) FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
530
|
-
[4;36;1mWidget Count (0.000953)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
531
|
-
[4;35;1mWidget Count (0.000849)[0m [0mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
532
|
-
[4;36;1mCategory Count (0.000776)[0m [0;1mSELECT COUNT(*) FROM categories WHERE (categories.deleted_at IS NULL) [0m
|
533
|
-
[4;35;1mWidget Count (0.003856)[0m [0mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
534
|
-
[4;36;1mWidget Count (0.000854)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) AND (title='widget 1') [0m
|
535
|
-
[4;35;1mWidget Count (0.000641)[0m [0mSELECT COUNT(*) FROM widgets [0m
|
536
|
-
[4;36;1mCategory Count (0.000847)[0m [0;1mSELECT COUNT(*) FROM categories WHERE (widget_id=1) [0m
|
537
|
-
[4;35;1mWidget Count (0.000877)[0m [0mSELECT COUNT(*) FROM widgets WHERE ((title = 'widget 1') AND widgets.deleted_at IS NULL) [0m
|
538
|
-
[4;36;1mWidget Count (0.000818)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
539
|
-
[4;35;1mWidget Count (0.000743)[0m [0mSELECT COUNT(*) FROM widgets WHERE (title = 'deleted widget 2') [0m
|
540
|
-
[4;36;1mWidget Load (0.001319)[0m [0;1mSELECT * FROM widgets WHERE ((title = 'widget 1') AND widgets.deleted_at IS NULL) [0m
|
541
|
-
[4;35;1mSQL (0.001092)[0m [0mPRAGMA table_info(widgets)[0m
|
542
|
-
[4;36;1mWidget Load (0.000548)[0m [0;1mSELECT * FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
543
|
-
[4;35;1mWidget Count (0.000849)[0m [0mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
544
|
-
[4;36;1mCategory Count (0.000847)[0m [0;1mSELECT COUNT(*) FROM categories WHERE (categories.deleted_at IS NULL) [0m
|
545
|
-
[4;36;1mSQL (0.285232)[0m [0;1mDROP TABLE widgets[0m
|
546
|
-
[4;35;1mSQL (0.003755)[0m [0mCREATE TABLE widgets ("id" INTEGER PRIMARY KEY NOT NULL, "title" varchar(50), "category_id" integer, "deleted_at" datetime) [0m
|
547
|
-
[4;36;1mSQL (0.003270)[0m [0;1mDROP TABLE categories[0m
|
548
|
-
[4;35;1mSQL (0.003342)[0m [0mCREATE TABLE categories ("id" INTEGER PRIMARY KEY NOT NULL, "widget_id" integer, "title" varchar(50), "deleted_at" datetime) [0m
|
549
|
-
[4;36;1mSQL (0.004357)[0m [0;1mDROP TABLE categories_widgets[0m
|
550
|
-
[4;35;1mSQL (0.004184)[0m [0mCREATE TABLE categories_widgets ("category_id" integer, "widget_id" integer) [0m
|
551
|
-
[4;36;1mSQL (0.000000)[0m [0;1mSQLite::Exceptions::SQLException: table schema_info already exists: CREATE TABLE schema_info (version integer)[0m
|
552
|
-
[4;35;1mSQL (0.001098)[0m [0mPRAGMA table_info(schema_info)[0m
|
553
|
-
[4;36;1mSQL (0.003748)[0m [0;1mUPDATE schema_info SET version = 1[0m
|
554
|
-
[4;35;1mWidget Count (0.000990)[0m [0mSELECT COUNT(*) FROM widgets WHERE (title = 'deleted widget 2') [0m
|
555
|
-
[4;36;1mWidget Count (0.000697)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE (title = 'deleted widget 2') [0m
|
556
|
-
[4;35;1mWidget Count (0.000817)[0m [0mSELECT COUNT(*) FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
557
|
-
[4;36;1mWidget Count (0.000672)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
558
|
-
[4;35;1mWidget Load (0.000876)[0m [0mSELECT * FROM widgets WHERE (title = 'deleted widget 2') [0m
|
559
|
-
[4;36;1mSQL (0.001173)[0m [0;1mPRAGMA table_info(widgets)[0m
|
560
|
-
[4;35;1mWidget Load (0.000767)[0m [0mSELECT * FROM widgets WHERE (title = 'deleted widget 2') [0m
|
561
|
-
[4;36;1mWidget Load (0.000542)[0m [0;1mSELECT * FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
562
|
-
[4;35;1mWidget Load (0.000464)[0m [0mSELECT * FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
563
|
-
[4;36;1mWidget Count (0.000993)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
564
|
-
[4;35;1mCategory Count (0.000826)[0m [0mSELECT COUNT(*) FROM categories WHERE (categories.deleted_at IS NULL) [0m
|
565
|
-
[4;36;1mWidget Count (0.000824)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
566
|
-
[4;35;1mWidget Count (0.000774)[0m [0mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) AND (title='widget 1') [0m
|
567
|
-
[4;36;1mWidget Count (0.000638)[0m [0;1mSELECT COUNT(*) FROM widgets [0m
|
568
|
-
[4;35;1mCategory Count (0.000878)[0m [0mSELECT COUNT(*) FROM categories WHERE (widget_id=1) [0m
|
569
|
-
[4;36;1mWidget Count (0.000871)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE ((title = 'widget 1') AND widgets.deleted_at IS NULL) [0m
|
570
|
-
[4;35;1mWidget Count (0.000917)[0m [0mSELECT COUNT(*) FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
571
|
-
[4;36;1mWidget Count (0.000687)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE (title = 'deleted widget 2') [0m
|
572
|
-
[4;35;1mWidget Load (0.004625)[0m [0mSELECT * FROM widgets WHERE ((title = 'widget 1') AND widgets.deleted_at IS NULL) [0m
|
573
|
-
[4;36;1mWidget Load (0.000575)[0m [0;1mSELECT * FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
574
|
-
[4;35;1mWidget Load (0.000745)[0m [0mSELECT * FROM widgets WHERE (title = 'deleted widget 2') [0m
|
575
|
-
[4;36;1mWidget Count (0.001877)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
576
|
-
[4;35;1mCategory Count (0.003986)[0m [0mSELECT COUNT(*) FROM categories WHERE (categories.deleted_at IS NULL) [0m
|
577
|
-
[4;36;1mSQL (0.192103)[0m [0;1mDROP TABLE widgets[0m
|
578
|
-
[4;35;1mSQL (0.003459)[0m [0mCREATE TABLE widgets ("id" INTEGER PRIMARY KEY NOT NULL, "title" varchar(50), "category_id" integer, "deleted_at" datetime) [0m
|
579
|
-
[4;36;1mSQL (0.003610)[0m [0;1mDROP TABLE categories[0m
|
580
|
-
[4;35;1mSQL (0.003132)[0m [0mCREATE TABLE categories ("id" INTEGER PRIMARY KEY NOT NULL, "widget_id" integer, "title" varchar(50), "deleted_at" datetime) [0m
|
581
|
-
[4;36;1mSQL (0.003668)[0m [0;1mDROP TABLE categories_widgets[0m
|
582
|
-
[4;35;1mSQL (0.003981)[0m [0mCREATE TABLE categories_widgets ("category_id" integer, "widget_id" integer) [0m
|
583
|
-
[4;36;1mSQL (0.000000)[0m [0;1mSQLite::Exceptions::SQLException: table schema_info already exists: CREATE TABLE schema_info (version integer)[0m
|
584
|
-
[4;35;1mSQL (0.000732)[0m [0mPRAGMA table_info(schema_info)[0m
|
585
|
-
[4;36;1mSQL (0.003191)[0m [0;1mUPDATE schema_info SET version = 1[0m
|
586
|
-
[4;35;1mWidget Count (0.000929)[0m [0mSELECT COUNT(*) FROM widgets WHERE (title = 'deleted widget 2') [0m
|
587
|
-
[4;36;1mWidget Count (0.000971)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE (title = 'deleted widget 2') [0m
|
588
|
-
[4;35;1mWidget Count (0.000835)[0m [0mSELECT COUNT(*) FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
589
|
-
[4;36;1mWidget Count (0.000742)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
590
|
-
[4;35;1mWidget Count (0.000913)[0m [0mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
591
|
-
[4;36;1mCategory Count (0.000815)[0m [0;1mSELECT COUNT(*) FROM categories WHERE (categories.deleted_at IS NULL) [0m
|
592
|
-
[4;35;1mWidget Load (0.001300)[0m [0mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
593
|
-
[4;36;1mSQL (0.001211)[0m [0;1mPRAGMA table_info(widgets)[0m
|
594
|
-
[4;35;1mCategory Load (0.000798)[0m [0mSELECT * FROM categories WHERE (categories.deleted_at IS NULL) AND (categories.widget_id = 1) [0m
|
595
|
-
[4;36;1mSQL (0.027503)[0m [0;1mPRAGMA table_info(categories)[0m
|
596
|
-
[4;35;1mSQL (0.002336)[0m [0mUPDATE categories SET deleted_at = '2005-12-20 21:59:05' WHERE id = 1[0m
|
597
|
-
[4;36;1mWidget Destroy (0.000524)[0m [0;1m DELETE FROM widgets
|
598
|
-
WHERE id = 1
|
599
|
-
[0m
|
600
|
-
[4;35;1mWidget Count (0.000768)[0m [0mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
601
|
-
[4;36;1mCategory Count (0.000708)[0m [0;1mSELECT COUNT(*) FROM categories WHERE (categories.deleted_at IS NULL) [0m
|
602
|
-
[4;35;1mWidget Count (0.000608)[0m [0mSELECT COUNT(*) FROM widgets [0m
|
603
|
-
[4;36;1mCategory Count (0.000571)[0m [0;1mSELECT COUNT(*) FROM categories [0m
|
604
|
-
[4;35;1mWidget Load (0.000939)[0m [0mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
605
|
-
[4;36;1mWidget Load (0.001447)[0m [0;1mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) LIMIT 1[0m
|
606
|
-
[4;35;1mWidget Load (0.001009)[0m [0mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
607
|
-
[4;36;1mWidget Load (0.001211)[0m [0;1mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
608
|
-
[4;35;1mWidget Count (0.000828)[0m [0mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
609
|
-
[4;36;1mWidget Count (0.000784)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) AND (title='widget 1') [0m
|
610
|
-
[4;35;1mWidget Count (0.000628)[0m [0mSELECT COUNT(*) FROM widgets [0m
|
611
|
-
[4;36;1mWidget Load (0.001164)[0m [0;1mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
612
|
-
[4;35;1mWidget Load (0.001077)[0m [0mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
613
|
-
[4;36;1mCategory Count (0.000877)[0m [0;1mSELECT COUNT(*) FROM categories WHERE (widget_id=1) [0m
|
614
|
-
[4;35;1mWidget Load (0.001007)[0m [0mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
615
|
-
[4;36;1mCategory Count (0.000860)[0m [0;1mSELECT COUNT(*) FROM categories WHERE (categories.deleted_at IS NULL) AND (categories.widget_id = 1) [0m
|
616
|
-
[4;35;1mCategory Load (0.000984)[0m [0mSELECT * FROM categories WHERE (categories.deleted_at IS NULL) AND (categories.id = 1) LIMIT 1[0m
|
617
|
-
[4;36;1mCategory Load (0.000810)[0m [0;1mSELECT * FROM categories WHERE (categories.deleted_at IS NULL) AND (categories.widget_id = 1) [0m
|
618
|
-
[4;35;1mCategory Load (0.001614)[0m [0mSELECT * FROM categories LEFT JOIN categories_widgets ON categories.id = categories_widgets.category_id WHERE (categories.deleted_at IS NULL) AND (categories_widgets.widget_id = 1 ) [0m
|
619
|
-
[4;36;1mWidget Count (0.003604)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE ((title = 'widget 1') AND widgets.deleted_at IS NULL) [0m
|
620
|
-
[4;35;1mWidget Count (0.000748)[0m [0mSELECT COUNT(*) FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
621
|
-
[4;36;1mWidget Count (0.000712)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE (title = 'deleted widget 2') [0m
|
622
|
-
[4;35;1mWidget Load (0.001096)[0m [0mSELECT * FROM widgets WHERE ((title = 'widget 1') AND widgets.deleted_at IS NULL) [0m
|
623
|
-
[4;36;1mWidget Load (0.000776)[0m [0;1mSELECT * FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
624
|
-
[4;35;1mWidget Count (0.000891)[0m [0mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
625
|
-
[4;36;1mCategory Count (0.001265)[0m [0;1mSELECT COUNT(*) FROM categories WHERE (categories.deleted_at IS NULL) [0m
|
626
|
-
[4;35;1mWidget Load (0.000931)[0m [0mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
627
|
-
[4;36;1mCategory Load (0.000931)[0m [0;1mSELECT * FROM categories WHERE (categories.deleted_at IS NULL) AND (categories.widget_id = 1) [0m
|
628
|
-
[4;35;1mSQL (0.002404)[0m [0mUPDATE categories SET deleted_at = '2005-12-20 21:59:05' WHERE id = 1[0m
|
629
|
-
[4;36;1mCategory Load (0.000735)[0m [0;1mSELECT * FROM categories LEFT JOIN categories_widgets ON categories.id = categories_widgets.category_id WHERE (categories.deleted_at IS NULL) AND (categories_widgets.widget_id = 1 ) [0m
|
630
|
-
[4;35;1mSQL (0.003828)[0m [0mUPDATE widgets SET deleted_at = '2005-12-20 21:59:05' WHERE id = 1[0m
|
631
|
-
[4;36;1mWidget Count (0.000815)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
632
|
-
[4;35;1mCategory Count (0.000774)[0m [0mSELECT COUNT(*) FROM categories WHERE (categories.deleted_at IS NULL) [0m
|
633
|
-
[4;36;1mWidget Count (0.000625)[0m [0;1mSELECT COUNT(*) FROM widgets [0m
|
634
|
-
[4;35;1mCategory Count (0.000596)[0m [0mSELECT COUNT(*) FROM categories [0m
|
635
|
-
[4;36;1mSQL (0.208987)[0m [0;1mDROP TABLE widgets[0m
|
636
|
-
[4;35;1mSQL (0.003366)[0m [0mCREATE TABLE widgets ("id" INTEGER PRIMARY KEY NOT NULL, "title" varchar(50), "category_id" integer, "deleted_at" datetime) [0m
|
637
|
-
[4;36;1mSQL (0.003342)[0m [0;1mDROP TABLE categories[0m
|
638
|
-
[4;35;1mSQL (0.002896)[0m [0mCREATE TABLE categories ("id" INTEGER PRIMARY KEY NOT NULL, "widget_id" integer, "title" varchar(50), "deleted_at" datetime) [0m
|
639
|
-
[4;36;1mSQL (0.003803)[0m [0;1mDROP TABLE categories_widgets[0m
|
640
|
-
[4;35;1mSQL (0.003867)[0m [0mCREATE TABLE categories_widgets ("category_id" integer, "widget_id" integer) [0m
|
641
|
-
[4;36;1mSQL (0.000000)[0m [0;1mSQLite::Exceptions::SQLException: table schema_info already exists: CREATE TABLE schema_info (version integer)[0m
|
642
|
-
[4;35;1mSQL (0.000749)[0m [0mPRAGMA table_info(schema_info)[0m
|
643
|
-
[4;36;1mSQL (0.003083)[0m [0;1mUPDATE schema_info SET version = 1[0m
|
644
|
-
[4;35;1mWidget Count (0.001203)[0m [0mSELECT COUNT(*) FROM widgets WHERE (title = 'deleted widget 2') [0m
|
645
|
-
[4;36;1mWidget Count (0.000701)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE (title = 'deleted widget 2') [0m
|
646
|
-
[4;35;1mWidget Count (0.000808)[0m [0mSELECT COUNT(*) FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
647
|
-
[4;36;1mWidget Count (0.000694)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
648
|
-
[4;35;1mWidget Load (0.000856)[0m [0mSELECT * FROM widgets WHERE (title = 'deleted widget 2') [0m
|
649
|
-
[4;36;1mSQL (0.001643)[0m [0;1mPRAGMA table_info(widgets)[0m
|
650
|
-
[4;35;1mWidget Load (0.000794)[0m [0mSELECT * FROM widgets WHERE (title = 'deleted widget 2') [0m
|
651
|
-
[4;36;1mWidget Load (0.000539)[0m [0;1mSELECT * FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
652
|
-
[4;35;1mWidget Load (0.000528)[0m [0mSELECT * FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
653
|
-
[4;36;1mWidget Count (0.000829)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
654
|
-
[4;35;1mCategory Count (0.000774)[0m [0mSELECT COUNT(*) FROM categories WHERE (categories.deleted_at IS NULL) [0m
|
655
|
-
[4;36;1mWidget Load (0.002044)[0m [0;1mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
656
|
-
[4;35;1mCategory Load (0.000957)[0m [0mSELECT * FROM categories WHERE (categories.deleted_at IS NULL) AND (categories.widget_id = 1) [0m
|
657
|
-
[4;36;1mSQL (0.001257)[0m [0;1mPRAGMA table_info(categories)[0m
|
658
|
-
[4;35;1mSQL (0.027504)[0m [0mUPDATE categories SET deleted_at = '2005-12-20 21:59:39' WHERE id = 1[0m
|
659
|
-
[4;36;1mWidget Destroy (0.000603)[0m [0;1m DELETE FROM widgets
|
660
|
-
WHERE id = 1
|
661
|
-
[0m
|
662
|
-
[4;35;1mWidget Count (0.000709)[0m [0mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
663
|
-
[4;36;1mCategory Count (0.000667)[0m [0;1mSELECT COUNT(*) FROM categories WHERE (categories.deleted_at IS NULL) [0m
|
664
|
-
[4;35;1mWidget Count (0.000581)[0m [0mSELECT COUNT(*) FROM widgets [0m
|
665
|
-
[4;36;1mCategory Count (0.000569)[0m [0;1mSELECT COUNT(*) FROM categories [0m
|
666
|
-
[4;35;1mWidget Load (0.000928)[0m [0mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
667
|
-
[4;36;1mWidget Load (0.000907)[0m [0;1mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) LIMIT 1[0m
|
668
|
-
[4;35;1mWidget Load (0.000843)[0m [0mSELECT * FROM widgets ORDER BY id desc LIMIT 1[0m
|
669
|
-
[4;36;1mWidget Load (0.001219)[0m [0;1mSELECT * FROM widgets WHERE (widgets.id IN (1,2)) [0m
|
670
|
-
[4;35;1mWidget Load (0.000960)[0m [0mSELECT * FROM widgets WHERE (widgets.id IN (1,2)) [0m
|
671
|
-
[4;36;1mWidget Load (0.000922)[0m [0;1mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id IN (1,2)) [0m
|
672
|
-
[4;35;1mWidget Load (0.000924)[0m [0mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
673
|
-
[4;36;1mWidget Load (0.000801)[0m [0;1mSELECT * FROM widgets WHERE (widgets.id = 2) LIMIT 1[0m
|
674
|
-
[4;35;1mWidget Load (0.000611)[0m [0mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 2) LIMIT 1[0m
|
675
|
-
[4;36;1mWidget Load (0.000908)[0m [0;1mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
676
|
-
[4;35;1mWidget Count (0.000846)[0m [0mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
677
|
-
[4;36;1mWidget Count (0.000786)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) AND (title='widget 1') [0m
|
678
|
-
[4;35;1mWidget Count (0.000577)[0m [0mSELECT COUNT(*) FROM widgets [0m
|
679
|
-
[4;36;1mWidget Load (0.001090)[0m [0;1mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
680
|
-
[4;35;1mWidget Load (0.000938)[0m [0mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
681
|
-
[4;36;1mWidget Load (0.000992)[0m [0;1mSELECT * FROM widgets ORDER BY id [0m
|
682
|
-
[4;35;1mCategory Count (0.000861)[0m [0mSELECT COUNT(*) FROM categories WHERE (widget_id=1) [0m
|
683
|
-
[4;36;1mWidget Load (0.001027)[0m [0;1mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
684
|
-
[4;35;1mCategory Count (0.000913)[0m [0mSELECT COUNT(*) FROM categories WHERE (categories.deleted_at IS NULL) AND (categories.widget_id = 1) [0m
|
685
|
-
[4;36;1mCategory Load (0.001381)[0m [0;1mSELECT * FROM categories WHERE (categories.deleted_at IS NULL) AND (categories.id = 1) LIMIT 1[0m
|
686
|
-
[4;35;1mCategory Load (0.000828)[0m [0mSELECT * FROM categories WHERE (categories.deleted_at IS NULL) AND (categories.widget_id = 1) [0m
|
687
|
-
[4;36;1mCategory Load (0.001073)[0m [0;1mSELECT * FROM categories LEFT JOIN categories_widgets ON categories.id = categories_widgets.category_id WHERE (categories.deleted_at IS NULL) AND (categories_widgets.widget_id = 1 ) [0m
|
688
|
-
[4;35;1mWidget Count (0.000870)[0m [0mSELECT COUNT(*) FROM widgets WHERE ((title = 'widget 1') AND widgets.deleted_at IS NULL) [0m
|
689
|
-
[4;36;1mWidget Count (0.000970)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
690
|
-
[4;35;1mWidget Count (0.000825)[0m [0mSELECT COUNT(*) FROM widgets WHERE (title = 'deleted widget 2') [0m
|
691
|
-
[4;36;1mWidget Load (0.004679)[0m [0;1mSELECT * FROM widgets WHERE ((title = 'widget 1') AND widgets.deleted_at IS NULL) [0m
|
692
|
-
[4;35;1mWidget Load (0.000610)[0m [0mSELECT * FROM widgets WHERE ((title = 'deleted widget 2') AND widgets.deleted_at IS NULL) [0m
|
693
|
-
[4;36;1mWidget Load (0.001106)[0m [0;1mSELECT * FROM widgets WHERE (title = 'deleted widget 2') [0m
|
694
|
-
[4;35;1mWidget Count (0.000820)[0m [0mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
695
|
-
[4;36;1mCategory Count (0.000916)[0m [0;1mSELECT COUNT(*) FROM categories WHERE (categories.deleted_at IS NULL) [0m
|
696
|
-
[4;35;1mWidget Load (0.000966)[0m [0mSELECT * FROM widgets WHERE (widgets.deleted_at IS NULL) AND (widgets.id = 1) LIMIT 1[0m
|
697
|
-
[4;36;1mCategory Load (0.001041)[0m [0;1mSELECT * FROM categories WHERE (categories.deleted_at IS NULL) AND (categories.widget_id = 1) [0m
|
698
|
-
[4;35;1mSQL (0.002575)[0m [0mUPDATE categories SET deleted_at = '2005-12-20 21:59:40' WHERE id = 1[0m
|
699
|
-
[4;36;1mCategory Load (0.000747)[0m [0;1mSELECT * FROM categories LEFT JOIN categories_widgets ON categories.id = categories_widgets.category_id WHERE (categories.deleted_at IS NULL) AND (categories_widgets.widget_id = 1 ) [0m
|
700
|
-
[4;35;1mSQL (0.000986)[0m [0mUPDATE widgets SET deleted_at = '2005-12-20 21:59:40' WHERE id = 1[0m
|
701
|
-
[4;36;1mWidget Count (0.000696)[0m [0;1mSELECT COUNT(*) FROM widgets WHERE (widgets.deleted_at IS NULL) [0m
|
702
|
-
[4;35;1mCategory Count (0.000686)[0m [0mSELECT COUNT(*) FROM categories WHERE (categories.deleted_at IS NULL) [0m
|
703
|
-
[4;36;1mWidget Count (0.001363)[0m [0;1mSELECT COUNT(*) FROM widgets [0m
|
704
|
-
[4;35;1mCategory Count (0.000664)[0m [0mSELECT COUNT(*) FROM categories [0m
|