blamestamp 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +19 -1
- data/lib/blamestamp/active_record.rb +46 -20
- data/lib/blamestamp/version.rb +1 -1
- data/test/blameable_test.rb +40 -4
- data/test/dummy/app/models/alligator.rb +1 -1
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +42 -744
- data/test/dummy/log/test.log +11665 -29610
- metadata +53 -18
data/README.md
CHANGED
@@ -19,10 +19,14 @@ Currently only works with a combination of Devise, ActiveRecord and ActiveContro
|
|
19
19
|
Installation
|
20
20
|
------------
|
21
21
|
|
22
|
-
Blamestamp should be installed as a gem in your app.
|
22
|
+
Blamestamp should be installed as a gem in your app.
|
23
23
|
|
24
24
|
Include the gem in your Gemfile:
|
25
25
|
|
26
|
+
gem "blamestamp"
|
27
|
+
|
28
|
+
Or, if you like to live on the bleeding-edge:
|
29
|
+
|
26
30
|
gem "blamestamp", :git => "https://github.com/cavis/blamestamp"
|
27
31
|
|
28
32
|
|
@@ -82,6 +86,16 @@ Additionally, `blameable` adds 2 relations to your models:
|
|
82
86
|
|
83
87
|
These are standard `belongs_to` associations, and will be nil unless the `_at` column is populated.
|
84
88
|
|
89
|
+
Overriding Stamps
|
90
|
+
-----------------
|
91
|
+
|
92
|
+
If you want, you can manually set the blamestamps instead of letting the remote user set them. For example:
|
93
|
+
|
94
|
+
user1 = User.new
|
95
|
+
foo1 = Foo.new
|
96
|
+
foo1.blame_cre_user = user1
|
97
|
+
foo1.save!
|
98
|
+
#whatever the remote user may have been, blame_cre_by is now user1.id
|
85
99
|
|
86
100
|
Advanced Options
|
87
101
|
----------------
|
@@ -108,6 +122,10 @@ And if you don't like the default association names, you can define those too:
|
|
108
122
|
|
109
123
|
blameable :cre_user => :inventor, :upd_user => :hacker
|
110
124
|
|
125
|
+
If you're concerned about data validation, you can make sure errors are raised if a record is ever saved with a blank `blame_cre_by`:
|
126
|
+
|
127
|
+
blameable :required => true
|
128
|
+
|
111
129
|
Finally, you can cascade modifications from a `blameable` model to one of its associations. Whenever a record of the `blameable` class is inserted, updated, or deleted, the `upd_at`/`upd_by` columns on the associated record will be updated. For example:
|
112
130
|
|
113
131
|
class Foo < ActiveRecord::Base
|
@@ -1,6 +1,8 @@
|
|
1
1
|
require 'active_record'
|
2
2
|
|
3
3
|
module Blamestamp
|
4
|
+
class NoBlameUserError < StandardError
|
5
|
+
end
|
4
6
|
module Blameable
|
5
7
|
extend ActiveSupport::Concern
|
6
8
|
|
@@ -33,32 +35,18 @@ module Blamestamp
|
|
33
35
|
:upd_user => opts[:upd_user] || "#{prefix}_upd_user".to_sym,
|
34
36
|
:class => opts[:class] || "User".to_sym,
|
35
37
|
:cascade => opts[:cascade] || [],
|
38
|
+
:required => opts[:required] || false,
|
36
39
|
}
|
37
40
|
cfg[:cascade] = [cfg[:cascade]] if !cfg[:cascade].kind_of?(Array)
|
38
41
|
return cfg
|
39
42
|
end
|
40
43
|
end
|
41
44
|
|
42
|
-
# main blamer workhorse
|
43
|
-
def blame_them!(at_key, by_key, force=false)
|
44
|
-
at_col = self.blameable_config[at_key]
|
45
|
-
by_col = self.blameable_config[by_key]
|
46
|
-
|
47
|
-
# only blame if it wasn't explicitly set
|
48
|
-
if force || !(self.changed - [at_col.to_s, by_col.to_s]).empty?
|
49
|
-
self[at_col] = Time.now
|
50
|
-
self[by_col] = Blamestamp::get_blame_user
|
51
|
-
return true
|
52
|
-
end
|
53
|
-
|
54
|
-
return false # nothing saved!
|
55
|
-
end
|
56
|
-
|
57
45
|
# cascade the blame up
|
58
|
-
def cascade_blame
|
46
|
+
def cascade_blame!(time, usr_id)
|
59
47
|
self.blameable_config[:cascade].each do |assoc|
|
60
48
|
if self.send(assoc)
|
61
|
-
self.send(assoc).
|
49
|
+
self.send(assoc).blame_cascade(time, usr_id)
|
62
50
|
self.send(assoc).save :validate => false
|
63
51
|
end
|
64
52
|
end
|
@@ -66,17 +54,55 @@ module Blamestamp
|
|
66
54
|
|
67
55
|
# create callback
|
68
56
|
def blame_create
|
69
|
-
|
57
|
+
at_col = self.blameable_config[:cre_at]
|
58
|
+
by_col = self.blameable_config[:cre_by]
|
59
|
+
name = self.blameable_config[:cre_user]
|
60
|
+
|
61
|
+
# only set blanks
|
62
|
+
self[at_col] = Time.now if self[at_col].blank?
|
63
|
+
self[by_col] = Blamestamp::get_blame_user if self[by_col].blank? && !self.send(name)
|
64
|
+
|
65
|
+
# required option
|
66
|
+
raise NoBlameUserError if self.blameable_config[:required] && !self[by_col]
|
67
|
+
|
68
|
+
# cascade
|
69
|
+
self.cascade_blame!(self[at_col], self[by_col])
|
70
70
|
end
|
71
71
|
|
72
72
|
# update callback
|
73
73
|
def blame_update
|
74
|
-
|
74
|
+
at_col = self.blameable_config[:upd_at]
|
75
|
+
by_col = self.blameable_config[:upd_by]
|
76
|
+
name = self.blameable_config[:upd_user]
|
77
|
+
|
78
|
+
# respect manual user updates
|
79
|
+
self[at_col] = Time.now unless self.changed.include?(at_col)
|
80
|
+
self[by_col] = Blamestamp::get_blame_user unless self.changed.include?(by_col)
|
81
|
+
self.cascade_blame!(self[at_col], self[by_col])
|
75
82
|
end
|
76
83
|
|
77
84
|
# destory callback
|
78
85
|
def blame_destroy
|
79
|
-
self.cascade_blame()
|
86
|
+
self.cascade_blame!(Time.now, Blamestamp::get_blame_user)
|
87
|
+
end
|
88
|
+
|
89
|
+
# called by other models, when they're updated
|
90
|
+
def blame_cascade(time, usr_id)
|
91
|
+
at_col = self.blameable_config[:upd_at]
|
92
|
+
by_col = self.blameable_config[:upd_by]
|
93
|
+
self[at_col] = time
|
94
|
+
self[by_col] = usr_id
|
95
|
+
end
|
96
|
+
|
97
|
+
# check if non-blame columns have changed
|
98
|
+
def has_non_blame_changes?
|
99
|
+
cols = [
|
100
|
+
self.blameable_config[:cre_at],
|
101
|
+
self.blameable_config[:cre_by],
|
102
|
+
self.blameable_config[:upd_at],
|
103
|
+
self.blameable_config[:upd_by],
|
104
|
+
]
|
105
|
+
(self.changed - cols).empty? ? false : true
|
80
106
|
end
|
81
107
|
end
|
82
108
|
end
|
data/lib/blamestamp/version.rb
CHANGED
data/test/blameable_test.rb
CHANGED
@@ -53,6 +53,7 @@ class BlameableTest < ActiveSupport::TestCase
|
|
53
53
|
end
|
54
54
|
|
55
55
|
test "cre_at option" do
|
56
|
+
Blamestamp::set_blame_user(999)
|
56
57
|
f = Flag.new(:origin => 'aoeu')
|
57
58
|
assert_nil f.made_at, "already has cre_at"
|
58
59
|
f.save()
|
@@ -60,6 +61,7 @@ class BlameableTest < ActiveSupport::TestCase
|
|
60
61
|
end
|
61
62
|
|
62
63
|
test "upd_at option" do
|
64
|
+
Blamestamp::set_blame_user(999)
|
63
65
|
f = flags(:semaphore)
|
64
66
|
f.origin = "something else"
|
65
67
|
assert_nil f.changed_at, "already has upd_at"
|
@@ -68,6 +70,7 @@ class BlameableTest < ActiveSupport::TestCase
|
|
68
70
|
end
|
69
71
|
|
70
72
|
test "cre_by option" do
|
73
|
+
Blamestamp::set_blame_user(999)
|
71
74
|
f = Flag.new(:origin => 'aoeu')
|
72
75
|
assert_nil f.made_by, "already has cre_by"
|
73
76
|
f.save()
|
@@ -75,6 +78,7 @@ class BlameableTest < ActiveSupport::TestCase
|
|
75
78
|
end
|
76
79
|
|
77
80
|
test "upd_by option" do
|
81
|
+
Blamestamp::set_blame_user(999)
|
78
82
|
f = flags(:semaphore)
|
79
83
|
f.origin = "something else"
|
80
84
|
assert_nil f.hacked_by, "already has upd_by"
|
@@ -100,15 +104,47 @@ class BlameableTest < ActiveSupport::TestCase
|
|
100
104
|
assert_equal users(:cameron).email, f.hacker.email, "incorrect upd_user"
|
101
105
|
end
|
102
106
|
|
107
|
+
test "required option" do
|
108
|
+
Blamestamp::unset_blame_user
|
109
|
+
a = Alligator.new(:name => 'ted')
|
110
|
+
assert_raise Blamestamp::NoBlameUserError do
|
111
|
+
a.save
|
112
|
+
end
|
113
|
+
end
|
114
|
+
|
115
|
+
test "non-required option" do
|
116
|
+
Blamestamp::unset_blame_user
|
117
|
+
f = Flag.new
|
118
|
+
assert_equal f.save!, true, "non-blame-requiring flag didn't save"
|
119
|
+
end
|
120
|
+
|
121
|
+
test "overriding stamper by id" do
|
122
|
+
harold = users(:harold)
|
123
|
+
isak = users(:isak)
|
124
|
+
Blamestamp::set_blame_user(harold.id)
|
125
|
+
a = Alligator.new(:name => 'ted')
|
126
|
+
a.gator_cre_by = isak.id
|
127
|
+
a.save!
|
128
|
+
assert_equal a.gator_cre_by, isak.id, "did not override stamper"
|
129
|
+
end
|
130
|
+
|
131
|
+
test "overriding stamper by assoc" do
|
132
|
+
harold = users(:harold)
|
133
|
+
isak = users(:isak)
|
134
|
+
Blamestamp::set_blame_user(harold.id)
|
135
|
+
a = Alligator.new(:name => 'ted')
|
136
|
+
a.gator_cre_user = isak
|
137
|
+
a.save!
|
138
|
+
assert_equal a.gator_cre_by, isak.id, "did not override stamper"
|
139
|
+
end
|
140
|
+
|
103
141
|
private
|
104
142
|
|
105
143
|
def set_blamers(rec, cre_user, upd_user)
|
106
144
|
Blamestamp::set_blame_user(cre_user.id)
|
107
|
-
rec.
|
108
|
-
rec.cascade_blame
|
145
|
+
rec.blame_create
|
109
146
|
Blamestamp::set_blame_user(upd_user.id)
|
110
|
-
rec.
|
111
|
-
rec.cascade_blame
|
147
|
+
rec.blame_update
|
112
148
|
end
|
113
149
|
|
114
150
|
end
|
Binary file
|
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
@@ -1,780 +1,78 @@
|
|
1
1
|
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
2
|
-
[1m[35m (
|
3
|
-
[1m[36m (0.
|
4
|
-
[1m[35m (
|
2
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
3
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
4
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
5
5
|
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
6
6
|
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
7
7
|
Migrating to DeviseCreateUsers (20120420004117)
|
8
8
|
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
9
9
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10
|
-
[1m[35m (0.
|
10
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
11
11
|
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
12
12
|
[1m[35m (0.3ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
13
|
-
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
14
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
15
|
-
[1m[36m (0.2ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
16
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120420004117')
|
17
|
-
[1m[36m (5.6ms)[0m [1mcommit transaction[0m
|
18
|
-
Migrating to CreateProjects (20120420005606)
|
19
|
-
[1m[35m (0.0ms)[0m begin transaction
|
20
|
-
[1m[36m (0.3ms)[0m [1mCREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" text, "created_at" datetime, "updated_at" datetime, "created_by" integer, "updated_by" integer) [0m
|
21
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120420005606')
|
22
|
-
[1m[36m (1.5ms)[0m [1mcommit transaction[0m
|
23
|
-
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
24
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
25
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("projects")
|
26
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
27
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_reset_password_token')
|
28
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_email')[0m
|
29
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
30
|
-
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
31
|
-
[1m[36m (5.9ms)[0m [1mCREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" text, "created_at" datetime, "updated_at" datetime, "created_by" integer, "updated_by" integer) [0m
|
32
|
-
[1m[35m (1.9ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
33
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
34
|
-
[1m[35m (2.4ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
35
|
-
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
36
|
-
[1m[35m (0.1ms)[0m PRAGMA index_info('index_users_on_email')
|
37
|
-
[1m[36m (2.7ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
38
|
-
[1m[35m (2.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
39
|
-
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
40
|
-
[1m[35m (2.5ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
41
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
42
|
-
[1m[35m (2.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120420005606')
|
43
|
-
[1m[36m (1.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120420004117')[0m
|
44
|
-
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
45
|
-
[1m[35m (2.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
46
|
-
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
47
|
-
[1m[35m (1.7ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
48
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
49
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
50
|
-
Migrating to DeviseCreateUsers (20120420004117)
|
51
|
-
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
52
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
53
|
-
[1m[35m (0.4ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
54
13
|
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
55
|
-
[1m[35m (0.3ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
56
|
-
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
57
14
|
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
58
|
-
[1m[36m (0.
|
15
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
59
16
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120420004117')
|
60
|
-
[1m[36m (
|
17
|
+
[1m[36m (100.7ms)[0m [1mcommit transaction[0m
|
61
18
|
Migrating to CreateProjects (20120420005606)
|
62
19
|
[1m[35m (0.1ms)[0m begin transaction
|
63
|
-
[1m[36m (0.
|
64
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120420005606')
|
65
|
-
[1m[36m (1.4ms)[0m [1mcommit transaction[0m
|
66
|
-
[1m[35m (0.4ms)[0m select sqlite_version(*)
|
67
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
68
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("projects")
|
69
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
70
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_reset_password_token')
|
71
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_email')[0m
|
72
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
73
|
-
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
74
|
-
[1m[36m (6.1ms)[0m [1mCREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" text, "blame_cre_at" datetime, "blame_upd_at" datetime, "blame_cre_by" integer, "blame_upd_by" integer) [0m
|
75
|
-
[1m[35m (2.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
76
|
-
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
77
|
-
[1m[35m (2.4ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
78
|
-
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
79
|
-
[1m[35m (0.1ms)[0m PRAGMA index_info('index_users_on_email')
|
80
|
-
[1m[36m (2.4ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
81
|
-
[1m[35m (1.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
82
|
-
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
83
|
-
[1m[35m (2.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
84
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
85
|
-
[1m[35m (2.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120420005606')
|
86
|
-
[1m[36m (1.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120420004117')[0m
|
87
|
-
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
88
|
-
[1m[35m (3.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
89
|
-
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
90
|
-
[1m[35m (2.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
91
|
-
[1m[36m (0.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
92
|
-
Migrating to DeviseCreateUsers (20120420004117)
|
93
|
-
[1m[35m (0.1ms)[0m begin transaction
|
94
|
-
[1m[36m (0.6ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
95
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
96
|
-
[1m[36m (0.5ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
97
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
98
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_email')[0m
|
99
|
-
[1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
|
100
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120420004117')[0m
|
101
|
-
[1m[35m (2.7ms)[0m commit transaction
|
102
|
-
Migrating to CreateProjects (20120420005606)
|
103
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
104
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
105
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
106
|
-
Migrating to DeviseCreateUsers (20120420004117)
|
107
|
-
Migrating to CreateProjects (20120420005606)
|
108
|
-
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
109
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
110
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
111
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
112
|
-
Migrating to DeviseCreateUsers (20120420004117)
|
113
|
-
Migrating to CreateProjects (20120420005606)
|
114
|
-
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
115
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
116
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
117
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
118
|
-
Migrating to DeviseCreateUsers (20120420004117)
|
119
|
-
Migrating to CreateProjects (20120420005606)
|
120
|
-
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
121
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
122
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
123
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
124
|
-
Migrating to DeviseCreateUsers (20120420004117)
|
125
|
-
Migrating to CreateProjects (20120420005606)
|
126
|
-
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
127
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
128
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
129
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
130
|
-
Migrating to DeviseCreateUsers (20120420004117)
|
131
|
-
Migrating to CreateProjects (20120420005606)
|
132
|
-
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
133
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
134
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
135
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
136
|
-
Migrating to DeviseCreateUsers (20120420004117)
|
137
|
-
Migrating to CreateProjects (20120420005606)
|
138
|
-
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
139
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
140
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
141
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
142
|
-
Migrating to DeviseCreateUsers (20120420004117)
|
143
|
-
Migrating to CreateProjects (20120420005606)
|
144
|
-
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
145
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
146
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
147
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
148
|
-
Migrating to DeviseCreateUsers (20120420004117)
|
149
|
-
Migrating to CreateProjects (20120420005606)
|
150
|
-
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
151
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
152
|
-
[1m[35m (0.8ms)[0m CREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" text, "blame_cre_at" datetime, "blame_upd_at" datetime, "blame_cre_by" integer, "blame_upd_by" integer)
|
153
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120420005606')[0m
|
154
|
-
[1m[35m (6.2ms)[0m commit transaction
|
155
|
-
[1m[36m (0.3ms)[0m [1mselect sqlite_version(*)[0m
|
156
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
157
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("projects")[0m
|
158
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
159
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_reset_password_token')[0m
|
160
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
161
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
162
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
163
|
-
Migrating to CreateProjects (20120420005606)
|
164
|
-
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
165
|
-
[1m[35m (0.0ms)[0m begin transaction
|
166
|
-
[1m[36m (0.7ms)[0m [1mDROP TABLE "projects"[0m
|
167
|
-
[1m[35m (0.2ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120420005606'
|
168
|
-
[1m[36m (1.8ms)[0m [1mcommit transaction[0m
|
169
|
-
[1m[35m (0.4ms)[0m select sqlite_version(*)
|
170
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
171
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
172
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_reset_password_token')[0m
|
173
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
174
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
175
|
-
Migrating to DeviseCreateUsers (20120420004117)
|
176
|
-
Migrating to CreateProjects (20120420005606)
|
177
|
-
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
178
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
179
|
-
[1m[35m (0.4ms)[0m CREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" text, "blame_cre_at" datetime, "blame_upd_at" datetime, "blame_cre_by" integer, "blame_upd_by" integer)
|
180
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120420005606')[0m
|
181
|
-
[1m[35m (6.3ms)[0m commit transaction
|
182
|
-
[1m[36m (0.5ms)[0m [1mselect sqlite_version(*)[0m
|
183
|
-
[1m[35m (0.2ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
184
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("projects")[0m
|
185
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
186
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_reset_password_token')[0m
|
187
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
188
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
189
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
190
|
-
Migrating to CreateProjects (20120420005606)
|
191
|
-
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
192
|
-
[1m[35m (0.0ms)[0m begin transaction
|
193
|
-
[1m[36m (0.4ms)[0m [1mDROP TABLE "projects"[0m
|
194
|
-
[1m[35m (0.1ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120420005606'
|
195
|
-
[1m[36m (6.4ms)[0m [1mcommit transaction[0m
|
196
|
-
[1m[35m (0.4ms)[0m select sqlite_version(*)
|
197
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
198
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
199
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_reset_password_token')[0m
|
200
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
201
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
202
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
203
|
-
Migrating to DeviseCreateUsers (20120420004117)
|
204
|
-
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
205
|
-
[1m[35m (0.0ms)[0m begin transaction
|
206
|
-
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
207
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_reset_password_token')
|
208
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_email')[0m
|
209
|
-
[1m[35m (0.3ms)[0m DROP INDEX "index_users_on_reset_password_token"
|
210
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
211
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
212
|
-
[1m[36m (0.3ms)[0m [1mDROP INDEX "index_users_on_email"[0m
|
213
|
-
[1m[35m (0.1ms)[0m DROP TABLE "users"
|
214
|
-
[1m[36m (0.1ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120420004117'[0m
|
215
|
-
[1m[35m (2.3ms)[0m commit transaction
|
216
|
-
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
217
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
218
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
219
|
-
Migrating to DeviseCreateUsers (20120420004117)
|
220
|
-
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
221
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
222
|
-
[1m[35m (0.4ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
223
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
224
|
-
[1m[35m (0.4ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
225
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
226
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
227
|
-
[1m[36m (0.2ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
228
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120420004117')
|
229
|
-
[1m[36m (6.0ms)[0m [1mcommit transaction[0m
|
230
|
-
Migrating to CreateProjects (20120420005606)
|
231
|
-
[1m[35m (0.1ms)[0m begin transaction
|
232
|
-
[1m[36m (0.5ms)[0m [1mCREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" text, "blame_cre_at" datetime, "blame_upd_at" datetime, "blame_cre_by" integer, "blame_upd_by" integer) [0m
|
20
|
+
[1m[36m (0.6ms)[0m [1mCREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" text, "blame_cre_at" datetime, "blame_upd_at" datetime, "blame_cre_by" integer, "blame_upd_by" integer) [0m
|
233
21
|
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120420005606')
|
234
|
-
[1m[36m (
|
235
|
-
|
236
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
237
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("projects")
|
238
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
239
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_reset_password_token')
|
240
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_email')[0m
|
241
|
-
[1m[36m (13.4ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
242
|
-
[1m[35m (0.2ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
243
|
-
Migrating to CreateProjects (20120420005606)
|
244
|
-
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
245
|
-
[1m[35m (0.1ms)[0m begin transaction
|
246
|
-
[1m[36m (1.3ms)[0m [1mDROP TABLE "projects"[0m
|
247
|
-
[1m[35m (0.1ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120420005606'
|
248
|
-
[1m[36m (2.7ms)[0m [1mcommit transaction[0m
|
249
|
-
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
250
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
251
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
252
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_reset_password_token')[0m
|
253
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
254
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
255
|
-
Migrating to DeviseCreateUsers (20120420004117)
|
256
|
-
Migrating to CreateProjects (20120420005606)
|
257
|
-
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
258
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
259
|
-
[1m[35m (0.4ms)[0m CREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" text, "blame_cre_at" datetime, "blame_upd_at" datetime, "blame_cre_by" integer, "blame_upd_by" integer)
|
260
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120420005606')[0m
|
261
|
-
[1m[35m (6.4ms)[0m commit transaction
|
262
|
-
[1m[36m (0.4ms)[0m [1mselect sqlite_version(*)[0m
|
263
|
-
[1m[35m (0.2ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
264
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("projects")[0m
|
265
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
266
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_reset_password_token')[0m
|
267
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
268
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
269
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
270
|
-
Migrating to CreateProjects (20120420005606)
|
271
|
-
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
272
|
-
[1m[35m (0.0ms)[0m begin transaction
|
273
|
-
[1m[36m (0.4ms)[0m [1mDROP TABLE "projects"[0m
|
274
|
-
[1m[35m (0.1ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120420005606'
|
275
|
-
[1m[36m (5.9ms)[0m [1mcommit transaction[0m
|
276
|
-
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
277
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
278
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
279
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_reset_password_token')[0m
|
280
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
281
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
282
|
-
Migrating to DeviseCreateUsers (20120420004117)
|
283
|
-
Migrating to CreateProjects (20120420005606)
|
284
|
-
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
285
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
286
|
-
[1m[35m (0.4ms)[0m CREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" text, "blame_cre_at" datetime, "blame_upd_at" datetime, "blame_cre_by" integer, "blame_upd_by" integer)
|
287
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120420005606')[0m
|
288
|
-
[1m[35m (6.1ms)[0m commit transaction
|
289
|
-
[1m[36m (0.3ms)[0m [1mselect sqlite_version(*)[0m
|
290
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
291
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("projects")[0m
|
292
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
293
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_reset_password_token')[0m
|
294
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
295
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
296
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
297
|
-
Migrating to CreateProjects (20120420005606)
|
298
|
-
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
299
|
-
[1m[35m (0.0ms)[0m begin transaction
|
300
|
-
[1m[36m (0.3ms)[0m [1mDROP TABLE "projects"[0m
|
301
|
-
[1m[35m (0.1ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120420005606'
|
302
|
-
[1m[36m (5.9ms)[0m [1mcommit transaction[0m
|
303
|
-
[1m[35m (0.4ms)[0m select sqlite_version(*)
|
304
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
305
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
306
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_reset_password_token')[0m
|
307
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
308
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
309
|
-
Migrating to DeviseCreateUsers (20120420004117)
|
310
|
-
Migrating to CreateProjects (20120420005606)
|
311
|
-
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
312
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
313
|
-
[1m[35m (0.3ms)[0m CREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" text)
|
314
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120420005606')[0m
|
315
|
-
[1m[35m (6.5ms)[0m commit transaction
|
316
|
-
Migrating to BlameProjects (20120420005607)
|
317
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
318
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
319
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
320
|
-
Migrating to DeviseCreateUsers (20120420004117)
|
321
|
-
Migrating to CreateProjects (20120420005606)
|
322
|
-
Migrating to BlameProjects (20120420005607)
|
323
|
-
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
324
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
325
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
326
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
327
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
328
|
-
Migrating to CreateProjects (20120420005606)
|
329
|
-
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
330
|
-
[1m[35m (0.0ms)[0m begin transaction
|
331
|
-
[1m[36m (0.4ms)[0m [1mDROP TABLE "projects"[0m
|
332
|
-
[1m[35m (0.1ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120420005606'
|
333
|
-
[1m[36m (6.0ms)[0m [1mcommit transaction[0m
|
334
|
-
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
335
|
-
[1m[36m (0.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
336
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
337
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_reset_password_token')[0m
|
338
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
339
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
340
|
-
Migrating to DeviseCreateUsers (20120420004117)
|
341
|
-
Migrating to CreateProjects (20120420005606)
|
342
|
-
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
343
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
344
|
-
[1m[35m (0.4ms)[0m CREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" text)
|
345
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120420005606')[0m
|
346
|
-
[1m[35m (6.3ms)[0m commit transaction
|
347
|
-
Migrating to BlameProjects (20120420005607)
|
348
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
349
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
350
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
351
|
-
Migrating to DeviseCreateUsers (20120420004117)
|
352
|
-
Migrating to CreateProjects (20120420005606)
|
353
|
-
Migrating to BlameProjects (20120420005607)
|
354
|
-
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
355
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
356
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "projects" ADD "blame_cre_at" datetime
|
357
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "projects" ADD "blame_upd_at" datetime[0m
|
358
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "projects" ADD "blame_cre_by" integer
|
359
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "projects" ADD "blame_upd_by" integer[0m
|
360
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120420005607')
|
361
|
-
[1m[36m (5.9ms)[0m [1mcommit transaction[0m
|
362
|
-
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
363
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
364
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("projects")
|
365
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
366
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_reset_password_token')
|
367
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_email')[0m
|
368
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
369
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
370
|
-
Migrating to BlameProjects (20120420005607)
|
371
|
-
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
372
|
-
[1m[35m (0.0ms)[0m begin transaction
|
373
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
374
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
375
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
376
|
-
Migrating to BlameProjects (20120420005607)
|
377
|
-
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
378
|
-
[1m[35m (0.0ms)[0m begin transaction
|
379
|
-
[1m[36m (0.5ms)[0m [1mCREATE TEMPORARY TABLE "altered_projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" text, "blame_cre_at" datetime, "blame_upd_at" datetime, "blame_cre_by" integer, "blame_upd_by" integer) [0m
|
380
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("projects")
|
381
|
-
[1m[36m (0.1ms)[0m [1mSELECT * FROM "projects"[0m
|
382
|
-
[1m[35m (0.2ms)[0m DROP TABLE "projects"
|
383
|
-
[1m[36m (0.1ms)[0m [1mCREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" text, "blame_upd_at" datetime, "blame_cre_by" integer, "blame_upd_by" integer) [0m
|
384
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("altered_projects")
|
385
|
-
[1m[36m (0.0ms)[0m [1mSELECT * FROM "altered_projects"[0m
|
386
|
-
[1m[35m (0.3ms)[0m DROP TABLE "altered_projects"
|
387
|
-
[1m[36m (0.1ms)[0m [1mCREATE TEMPORARY TABLE "altered_projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" text, "blame_upd_at" datetime, "blame_cre_by" integer, "blame_upd_by" integer) [0m
|
388
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("projects")
|
389
|
-
[1m[36m (0.0ms)[0m [1mSELECT * FROM "projects"[0m
|
390
|
-
[1m[35m (0.2ms)[0m DROP TABLE "projects"
|
391
|
-
[1m[36m (0.1ms)[0m [1mCREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" text, "blame_cre_by" integer, "blame_upd_by" integer) [0m
|
392
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("altered_projects")
|
393
|
-
[1m[36m (0.0ms)[0m [1mSELECT * FROM "altered_projects"[0m
|
394
|
-
[1m[35m (0.1ms)[0m DROP TABLE "altered_projects"
|
395
|
-
[1m[36m (0.1ms)[0m [1mCREATE TEMPORARY TABLE "altered_projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" text, "blame_cre_by" integer, "blame_upd_by" integer) [0m
|
396
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("projects")
|
397
|
-
[1m[36m (0.0ms)[0m [1mSELECT * FROM "projects"[0m
|
398
|
-
[1m[35m (0.1ms)[0m DROP TABLE "projects"
|
399
|
-
[1m[36m (0.1ms)[0m [1mCREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" text, "blame_upd_by" integer) [0m
|
400
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("altered_projects")
|
401
|
-
[1m[36m (0.0ms)[0m [1mSELECT * FROM "altered_projects"[0m
|
402
|
-
[1m[35m (0.1ms)[0m DROP TABLE "altered_projects"
|
403
|
-
[1m[36m (0.1ms)[0m [1mCREATE TEMPORARY TABLE "altered_projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" text, "blame_upd_by" integer) [0m
|
404
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("projects")
|
405
|
-
[1m[36m (0.0ms)[0m [1mSELECT * FROM "projects"[0m
|
406
|
-
[1m[35m (0.1ms)[0m DROP TABLE "projects"
|
407
|
-
[1m[36m (0.1ms)[0m [1mCREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" text) [0m
|
408
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("altered_projects")
|
409
|
-
[1m[36m (0.0ms)[0m [1mSELECT * FROM "altered_projects"[0m
|
410
|
-
[1m[35m (0.1ms)[0m DROP TABLE "altered_projects"
|
411
|
-
[1m[36m (0.1ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120420005607'[0m
|
412
|
-
[1m[35m (6.7ms)[0m commit transaction
|
413
|
-
[1m[36m (0.4ms)[0m [1mselect sqlite_version(*)[0m
|
414
|
-
[1m[35m (0.2ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
415
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("projects")[0m
|
416
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
417
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_reset_password_token')[0m
|
418
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
419
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
420
|
-
Migrating to DeviseCreateUsers (20120420004117)
|
421
|
-
Migrating to CreateProjects (20120420005606)
|
422
|
-
Migrating to BlameProjects (20120420005607)
|
423
|
-
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
424
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
425
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "projects" ADD "blame_cre_at" datetime
|
426
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "projects" ADD "blame_upd_at" datetime[0m
|
427
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "projects" ADD "blame_cre_by" integer
|
428
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "projects" ADD "blame_upd_by" integer[0m
|
429
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120420005607')
|
430
|
-
[1m[36m (6.3ms)[0m [1mcommit transaction[0m
|
431
|
-
[1m[35m (0.4ms)[0m select sqlite_version(*)
|
432
|
-
[1m[36m (0.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
433
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("projects")
|
434
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
435
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_reset_password_token')
|
436
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_email')[0m
|
437
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
438
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
439
|
-
Migrating to BlameProjects (20120420005607)
|
440
|
-
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
22
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
23
|
+
Migrating to CreateAlligators (20120504022124)
|
441
24
|
[1m[35m (0.0ms)[0m begin transaction
|
442
|
-
[1m[36m (0.
|
443
|
-
[1m[35m (0.
|
444
|
-
[1m[36m (0.
|
445
|
-
|
446
|
-
[1m[36m (0.1ms)[0m [1mCREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" text, "blame_upd_at" datetime, "blame_cre_by" integer, "blame_upd_by" integer) [0m
|
447
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("altered_projects")
|
448
|
-
[1m[36m (0.0ms)[0m [1mSELECT * FROM "altered_projects"[0m
|
449
|
-
[1m[35m (0.3ms)[0m DROP TABLE "altered_projects"
|
450
|
-
[1m[36m (0.1ms)[0m [1mCREATE TEMPORARY TABLE "altered_projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" text, "blame_upd_at" datetime, "blame_cre_by" integer, "blame_upd_by" integer) [0m
|
451
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("projects")
|
452
|
-
[1m[36m (0.0ms)[0m [1mSELECT * FROM "projects"[0m
|
453
|
-
[1m[35m (0.2ms)[0m DROP TABLE "projects"
|
454
|
-
[1m[36m (0.1ms)[0m [1mCREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" text, "blame_cre_by" integer, "blame_upd_by" integer) [0m
|
455
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("altered_projects")
|
456
|
-
[1m[36m (0.0ms)[0m [1mSELECT * FROM "altered_projects"[0m
|
457
|
-
[1m[35m (0.1ms)[0m DROP TABLE "altered_projects"
|
458
|
-
[1m[36m (0.1ms)[0m [1mCREATE TEMPORARY TABLE "altered_projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" text, "blame_cre_by" integer, "blame_upd_by" integer) [0m
|
459
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("projects")
|
460
|
-
[1m[36m (0.0ms)[0m [1mSELECT * FROM "projects"[0m
|
461
|
-
[1m[35m (0.1ms)[0m DROP TABLE "projects"
|
462
|
-
[1m[36m (0.1ms)[0m [1mCREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" text, "blame_upd_by" integer) [0m
|
463
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("altered_projects")
|
464
|
-
[1m[36m (0.0ms)[0m [1mSELECT * FROM "altered_projects"[0m
|
465
|
-
[1m[35m (0.1ms)[0m DROP TABLE "altered_projects"
|
466
|
-
[1m[36m (0.2ms)[0m [1mCREATE TEMPORARY TABLE "altered_projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" text, "blame_upd_by" integer) [0m
|
467
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("projects")
|
468
|
-
[1m[36m (0.0ms)[0m [1mSELECT * FROM "projects"[0m
|
469
|
-
[1m[35m (0.1ms)[0m DROP TABLE "projects"
|
470
|
-
[1m[36m (0.1ms)[0m [1mCREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" text) [0m
|
471
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("altered_projects")
|
472
|
-
[1m[36m (0.0ms)[0m [1mSELECT * FROM "altered_projects"[0m
|
473
|
-
[1m[35m (0.1ms)[0m DROP TABLE "altered_projects"
|
474
|
-
[1m[36m (0.1ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120420005607'[0m
|
475
|
-
[1m[35m (6.8ms)[0m commit transaction
|
476
|
-
[1m[36m (0.4ms)[0m [1mselect sqlite_version(*)[0m
|
477
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
478
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("projects")[0m
|
479
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
480
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_reset_password_token')[0m
|
481
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
482
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
483
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
484
|
-
Migrating to CreateProjects (20120420005606)
|
485
|
-
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
25
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "alligators" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "project_id" integer, "gator_cre_at" datetime, "gator_upd_at" datetime, "gator_cre_by" integer, "gator_upd_by" integer) [0m
|
26
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120504022124')
|
27
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
28
|
+
Migrating to CreateFlags (20120504025050)
|
486
29
|
[1m[35m (0.0ms)[0m begin transaction
|
487
|
-
[1m[36m (0.
|
488
|
-
[1m[35m (0.
|
489
|
-
[1m[36m (
|
30
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "flags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "origin" varchar(255), "project_id" integer, "alligator_id" integer, "made_at" datetime, "changed_at" datetime, "made_by" integer, "hacked_by" integer) [0m
|
31
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120504025050')
|
32
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
490
33
|
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
491
34
|
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
492
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("
|
493
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA
|
494
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
495
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
496
|
-
Migrating to DeviseCreateUsers (20120420004117)
|
497
|
-
Migrating to CreateProjects (20120420005606)
|
498
|
-
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
499
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
500
|
-
[1m[35m (0.4ms)[0m CREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" text)
|
501
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120420005606')[0m
|
502
|
-
[1m[35m (6.4ms)[0m commit transaction
|
503
|
-
Migrating to BlameProjects (20120420005607)
|
504
|
-
[1m[36m (0.6ms)[0m [1mbegin transaction[0m
|
505
|
-
[1m[35m (0.6ms)[0m ALTER TABLE "projects" ADD "blame_cre_at" datetime
|
506
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "projects" ADD "blame_upd_at" datetime[0m
|
507
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "projects" ADD "blame_cre_by" integer
|
508
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "projects" ADD "blame_upd_by" integer[0m
|
509
|
-
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120420005607')
|
510
|
-
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
511
|
-
[1m[35m (0.4ms)[0m select sqlite_version(*)
|
512
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
35
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("alligators")
|
36
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("flags")[0m
|
513
37
|
[1m[35m (0.0ms)[0m PRAGMA index_list("projects")
|
514
38
|
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
515
39
|
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_reset_password_token')
|
516
40
|
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_email')[0m
|
517
|
-
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
518
|
-
[1m[35m (5.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
519
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
520
|
-
[1m[35m (1.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
521
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
522
|
-
Migrating to DeviseCreateUsers (20120420004117)
|
523
|
-
[1m[35m (0.0ms)[0m begin transaction
|
524
|
-
[1m[36m (0.7ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
525
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
526
|
-
[1m[36m (0.5ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
527
|
-
[1m[35m (0.1ms)[0m PRAGMA index_list("users")
|
528
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_email')[0m
|
529
|
-
[1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
|
530
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120420004117')[0m
|
531
|
-
[1m[35m (1.9ms)[0m commit transaction
|
532
|
-
Migrating to CreateProjects (20120420005606)
|
533
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
534
|
-
[1m[35m (0.3ms)[0m CREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" text, "blame_cre_at" datetime, "blame_upd_at" datetime, "blame_cre_by" integer, "blame_upd_by" integer)
|
535
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120420005606')[0m
|
536
|
-
[1m[35m (1.6ms)[0m commit transaction
|
537
|
-
[1m[36m (0.3ms)[0m [1mselect sqlite_version(*)[0m
|
538
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
539
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("projects")[0m
|
540
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
541
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_reset_password_token')[0m
|
542
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
543
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
544
|
-
[1m[35m (0.4ms)[0m select sqlite_version(*)
|
545
|
-
[1m[36m (2.7ms)[0m [1mCREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" text, "blame_cre_at" datetime, "blame_upd_at" datetime, "blame_cre_by" integer, "blame_upd_by" integer) [0m
|
546
|
-
[1m[35m (2.0ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
547
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
548
|
-
[1m[35m (1.6ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
549
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
550
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
551
|
-
[1m[36m (2.3ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
552
|
-
[1m[35m (1.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
553
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
554
|
-
[1m[35m (1.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
555
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
556
|
-
[1m[35m (1.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120420005606')
|
557
|
-
[1m[36m (1.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120420004117')[0m
|
558
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
559
|
-
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
560
|
-
[1m[36m (1.4ms)[0m [1mCREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" text, "blame_cre_at" datetime, "blame_upd_at" datetime, "blame_cre_by" integer, "blame_upd_by" integer) [0m
|
561
|
-
[1m[35m (1.4ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
562
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
563
|
-
[1m[35m (1.5ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
564
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
565
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
566
|
-
[1m[36m (1.4ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
567
|
-
[1m[35m (1.3ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
568
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
569
|
-
[1m[35m (1.5ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
570
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
571
|
-
[1m[35m (1.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120420005606')
|
572
|
-
[1m[36m (2.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120420004117')[0m
|
573
41
|
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
574
42
|
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
575
|
-
[1m[36m (
|
576
|
-
[1m[35m (1.
|
43
|
+
[1m[36m (99.6ms)[0m [1mCREATE TABLE "alligators" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "project_id" integer, "gator_cre_at" datetime, "gator_upd_at" datetime, "gator_cre_by" integer, "gator_upd_by" integer) [0m
|
44
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "flags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "origin" varchar(255), "project_id" integer, "alligator_id" integer, "made_at" datetime, "changed_at" datetime, "made_by" integer, "hacked_by" integer)
|
45
|
+
[1m[36m (0.7ms)[0m [1mCREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" text, "blame_cre_at" datetime, "blame_upd_at" datetime, "blame_cre_by" integer, "blame_upd_by" integer) [0m
|
46
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
577
47
|
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
578
|
-
[1m[35m (
|
48
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
579
49
|
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
580
50
|
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
581
|
-
[1m[36m (
|
582
|
-
[1m[35m (
|
51
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
52
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
583
53
|
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
584
|
-
[1m[35m (
|
54
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
585
55
|
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
586
|
-
[1m[35m (
|
587
|
-
[1m[36m (
|
588
|
-
[1m[
|
589
|
-
[1m[
|
590
|
-
[1m[36m (0.6ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
591
|
-
[1m[35m (1.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
592
|
-
[1m[36m (0.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
593
|
-
Migrating to DeviseCreateUsers (20120420004117)
|
594
|
-
[1m[35m (0.1ms)[0m begin transaction
|
595
|
-
[1m[36m (0.4ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
596
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
597
|
-
[1m[36m (0.4ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
598
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
599
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_email')[0m
|
600
|
-
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
|
601
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120420004117')[0m
|
602
|
-
[1m[35m (2.0ms)[0m commit transaction
|
603
|
-
Migrating to CreateProjects (20120420005606)
|
604
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
605
|
-
[1m[35m (0.3ms)[0m CREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" text, "blame_cre_at" datetime, "blame_upd_at" datetime, "blame_cre_by" integer, "blame_upd_by" integer)
|
606
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120420005606')[0m
|
607
|
-
[1m[35m (1.8ms)[0m commit transaction
|
608
|
-
[1m[36m (0.3ms)[0m [1mselect sqlite_version(*)[0m
|
609
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
610
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("projects")[0m
|
611
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
612
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_reset_password_token')[0m
|
613
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
614
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
615
|
-
Migrating to DeviseCreateUsers (20120420004117)
|
616
|
-
Migrating to CreateProjects (20120420005606)
|
617
|
-
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
618
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
619
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("projects")
|
620
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
621
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_reset_password_token')
|
622
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_email')[0m
|
56
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120504025050')
|
57
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120420004117')[0m
|
58
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120420005606')
|
59
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120504022124')[0m
|
623
60
|
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
624
61
|
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
625
|
-
[1m[36m (
|
626
|
-
[1m[35m (
|
62
|
+
[1m[36m (3.8ms)[0m [1mCREATE TABLE "alligators" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "project_id" integer, "gator_cre_at" datetime, "gator_upd_at" datetime, "gator_cre_by" integer, "gator_upd_by" integer) [0m
|
63
|
+
[1m[35m (1.6ms)[0m CREATE TABLE "flags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "origin" varchar(255), "project_id" integer, "alligator_id" integer, "made_at" datetime, "changed_at" datetime, "made_by" integer, "hacked_by" integer)
|
64
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" text, "blame_cre_at" datetime, "blame_upd_at" datetime, "blame_cre_by" integer, "blame_upd_by" integer) [0m
|
65
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
627
66
|
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
628
|
-
[1m[35m (
|
629
|
-
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
630
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
631
|
-
[1m[36m (2.0ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
632
|
-
[1m[35m (1.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
633
|
-
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
634
|
-
[1m[35m (1.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
635
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
636
|
-
[1m[35m (1.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120420005606')
|
637
|
-
[1m[36m (2.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120420004117')[0m
|
638
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
639
|
-
Migrating to DeviseCreateUsers (20120420004117)
|
640
|
-
Migrating to CreateProjects (20120420005606)
|
641
|
-
Migrating to CreateAlligators (20120504022124)
|
642
|
-
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
643
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
644
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
645
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
646
|
-
Migrating to DeviseCreateUsers (20120420004117)
|
647
|
-
Migrating to CreateProjects (20120420005606)
|
648
|
-
Migrating to CreateAlligators (20120504022124)
|
649
|
-
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
650
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
651
|
-
[1m[35m (0.3ms)[0m CREATE TABLE "alligators" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "project_id" integer, "gator_cre_at" datetime, "gator_upd_at" datetime, "gator_cre_by" integer, "gator_upd_by" integer)
|
652
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120504022124')[0m
|
653
|
-
[1m[35m (2.3ms)[0m commit transaction
|
654
|
-
Migrating to CreateFlags (20120504025050)
|
655
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
656
|
-
[1m[35m (0.3ms)[0m CREATE TABLE "flags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "project_id" integer, "alligator_id" integer, "made_at" datetime, "changed_at" datetime, "made_by" integer, "hacked_by" integer)
|
657
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120504025050')[0m
|
658
|
-
[1m[35m (1.8ms)[0m commit transaction
|
659
|
-
[1m[36m (0.3ms)[0m [1mselect sqlite_version(*)[0m
|
660
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
661
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("alligators")[0m
|
662
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("flags")
|
663
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("projects")[0m
|
664
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
665
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_reset_password_token')[0m
|
666
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
667
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
668
|
-
[1m[35m (0.4ms)[0m select sqlite_version(*)
|
669
|
-
[1m[36m (3.3ms)[0m [1mCREATE TABLE "alligators" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "project_id" integer, "gator_cre_at" datetime, "gator_upd_at" datetime, "gator_cre_by" integer, "gator_upd_by" integer) [0m
|
670
|
-
[1m[35m (1.8ms)[0m CREATE TABLE "flags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "project_id" integer, "alligator_id" integer, "made_at" datetime, "changed_at" datetime, "made_by" integer, "hacked_by" integer)
|
671
|
-
[1m[36m (1.9ms)[0m [1mCREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" text, "blame_cre_at" datetime, "blame_upd_at" datetime, "blame_cre_by" integer, "blame_upd_by" integer) [0m
|
672
|
-
[1m[35m (2.7ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
673
|
-
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
674
|
-
[1m[35m (2.3ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
675
|
-
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
676
|
-
[1m[35m (0.1ms)[0m PRAGMA index_info('index_users_on_email')
|
677
|
-
[1m[36m (2.0ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
678
|
-
[1m[35m (2.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
679
|
-
[1m[36m (0.4ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
680
|
-
[1m[35m (1.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
681
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
682
|
-
[1m[35m (1.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120504025050')
|
683
|
-
[1m[36m (1.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120420004117')[0m
|
684
|
-
[1m[35m (1.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120420005606')
|
685
|
-
[1m[36m (1.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120504022124')[0m
|
686
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
687
|
-
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
688
|
-
[1m[36m (5.9ms)[0m [1mCREATE TABLE "alligators" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "project_id" integer, "gator_cre_at" datetime, "gator_upd_at" datetime, "gator_cre_by" integer, "gator_upd_by" integer) [0m
|
689
|
-
[1m[35m (2.1ms)[0m CREATE TABLE "flags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "project_id" integer, "alligator_id" integer, "made_at" datetime, "changed_at" datetime, "made_by" integer, "hacked_by" integer)
|
690
|
-
[1m[36m (2.4ms)[0m [1mCREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" text, "blame_cre_at" datetime, "blame_upd_at" datetime, "blame_cre_by" integer, "blame_upd_by" integer) [0m
|
691
|
-
[1m[35m (2.1ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
692
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
693
|
-
[1m[35m (1.7ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
694
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
695
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
696
|
-
[1m[36m (2.0ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
697
|
-
[1m[35m (2.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
698
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
699
|
-
[1m[35m (1.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
700
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
701
|
-
[1m[35m (1.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120504025050')
|
702
|
-
[1m[36m (1.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120420004117')[0m
|
703
|
-
[1m[35m (1.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120420005606')
|
704
|
-
[1m[36m (1.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120504022124')[0m
|
705
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
706
|
-
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
707
|
-
[1m[36m (6.0ms)[0m [1mCREATE TABLE "alligators" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "project_id" integer, "gator_cre_at" datetime, "gator_upd_at" datetime, "gator_cre_by" integer, "gator_upd_by" integer) [0m
|
708
|
-
[1m[35m (1.4ms)[0m CREATE TABLE "flags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "project_id" integer, "alligator_id" integer, "made_at" datetime, "changed_at" datetime, "made_by" integer, "hacked_by" integer)
|
709
|
-
[1m[36m (1.9ms)[0m [1mCREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" text, "blame_cre_at" datetime, "blame_upd_at" datetime, "blame_cre_by" integer, "blame_upd_by" integer) [0m
|
710
|
-
[1m[35m (2.3ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
711
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
712
|
-
[1m[35m (1.8ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
713
|
-
[1m[36m (0.4ms)[0m [1mPRAGMA index_list("users")[0m
|
714
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
715
|
-
[1m[36m (2.1ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
716
|
-
[1m[35m (2.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
717
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
718
|
-
[1m[35m (1.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
719
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
720
|
-
[1m[35m (1.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120504025050')
|
721
|
-
[1m[36m (1.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120420004117')[0m
|
722
|
-
[1m[35m (1.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120420005606')
|
723
|
-
[1m[36m (1.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120504022124')[0m
|
724
|
-
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
725
|
-
[1m[35m (5.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
726
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
727
|
-
[1m[35m (1.6ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
728
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
729
|
-
Migrating to DeviseCreateUsers (20120420004117)
|
730
|
-
[1m[35m (0.0ms)[0m begin transaction
|
731
|
-
[1m[36m (0.4ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
732
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
733
|
-
[1m[36m (0.3ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
734
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
735
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_email')[0m
|
736
|
-
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
|
737
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120420004117')[0m
|
738
|
-
[1m[35m (2.2ms)[0m commit transaction
|
739
|
-
Migrating to CreateProjects (20120420005606)
|
740
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
741
|
-
[1m[35m (0.4ms)[0m CREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" text, "blame_cre_at" datetime, "blame_upd_at" datetime, "blame_cre_by" integer, "blame_upd_by" integer)
|
742
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120420005606')[0m
|
743
|
-
[1m[35m (1.6ms)[0m commit transaction
|
744
|
-
Migrating to CreateAlligators (20120504022124)
|
745
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
746
|
-
[1m[35m (0.4ms)[0m CREATE TABLE "alligators" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "project_id" integer, "gator_cre_at" datetime, "gator_upd_at" datetime, "gator_cre_by" integer, "gator_upd_by" integer)
|
747
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120504022124')[0m
|
748
|
-
[1m[35m (1.5ms)[0m commit transaction
|
749
|
-
Migrating to CreateFlags (20120504025050)
|
750
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
751
|
-
[1m[35m (0.3ms)[0m CREATE TABLE "flags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "origin" varchar(255), "project_id" integer, "alligator_id" integer, "made_at" datetime, "changed_at" datetime, "made_by" integer, "hacked_by" integer)
|
752
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120504025050')[0m
|
753
|
-
[1m[35m (2.0ms)[0m commit transaction
|
754
|
-
[1m[36m (0.3ms)[0m [1mselect sqlite_version(*)[0m
|
755
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
756
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("alligators")[0m
|
757
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("flags")
|
758
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("projects")[0m
|
759
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
760
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_reset_password_token')[0m
|
761
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
762
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
763
|
-
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
764
|
-
[1m[36m (1.6ms)[0m [1mCREATE TABLE "alligators" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "project_id" integer, "gator_cre_at" datetime, "gator_upd_at" datetime, "gator_cre_by" integer, "gator_upd_by" integer) [0m
|
765
|
-
[1m[35m (1.5ms)[0m CREATE TABLE "flags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "origin" varchar(255), "project_id" integer, "alligator_id" integer, "made_at" datetime, "changed_at" datetime, "made_by" integer, "hacked_by" integer)
|
766
|
-
[1m[36m (1.6ms)[0m [1mCREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" text, "blame_cre_at" datetime, "blame_upd_at" datetime, "blame_cre_by" integer, "blame_upd_by" integer) [0m
|
767
|
-
[1m[35m (1.4ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
768
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
769
|
-
[1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
67
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
770
68
|
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
771
69
|
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
772
|
-
[1m[36m (
|
773
|
-
[1m[35m (
|
70
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
71
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
774
72
|
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
775
|
-
[1m[35m (
|
73
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
776
74
|
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
777
|
-
[1m[35m (
|
778
|
-
[1m[36m (
|
779
|
-
[1m[35m (
|
780
|
-
[1m[36m (
|
75
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120504025050')
|
76
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120420004117')[0m
|
77
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120420005606')
|
78
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120504022124')[0m
|