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 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. Currently, it is only available as the latest-build on github. Fixed versions forth-coming.
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).blame_them!(:upd_at, :upd_by, true)
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
- self.cascade_blame() if self.blame_them!(:cre_at, :cre_by)
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
- self.cascade_blame() if self.blame_them!(:upd_at, :upd_by)
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
@@ -1,3 +1,3 @@
1
1
  module Blamestamp
2
- VERSION = "0.9.0"
2
+ VERSION = "0.9.1"
3
3
  end
@@ -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.blame_them!(:cre_at, :cre_by, true)
108
- rec.cascade_blame
145
+ rec.blame_create
109
146
  Blamestamp::set_blame_user(upd_user.id)
110
- rec.blame_them!(:upd_at, :upd_by, true)
111
- rec.cascade_blame
147
+ rec.blame_update
112
148
  end
113
149
 
114
150
  end
@@ -2,5 +2,5 @@ class Alligator < ActiveRecord::Base
2
2
  belongs_to :project
3
3
  has_many :flags
4
4
  attr_accessible :name, :project_id
5
- blameable :prefix => :gator, :cascade => :project
5
+ blameable :prefix => :gator, :cascade => :project, :required => true
6
6
  end
Binary file
@@ -1,780 +1,78 @@
1
1
   (0.1ms) select sqlite_version(*)
2
-  (6.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
3
-  (0.1ms) PRAGMA index_list("schema_migrations")
4
-  (1.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
3
+  (0.0ms) PRAGMA index_list("schema_migrations")
4
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
5
5
   (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
6
6
   (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
7
7
  Migrating to DeviseCreateUsers (20120420004117)
8
8
   (0.0ms) select sqlite_version(*)
9
9
   (0.0ms) begin transaction
10
-  (0.4ms) 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)
10
+  (0.5ms) 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
   (0.0ms) PRAGMA index_list("users")
12
12
   (0.3ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
13
-  (0.1ms) PRAGMA index_list("users")
14
-  (0.0ms) PRAGMA index_info('index_users_on_email')
15
-  (0.2ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
16
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120420004117')
17
-  (5.6ms) commit transaction
18
- Migrating to CreateProjects (20120420005606)
19
-  (0.0ms) begin transaction
20
-  (0.3ms) CREATE 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) 
21
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120420005606')
22
-  (1.5ms) commit transaction
23
-  (0.3ms) select sqlite_version(*)
24
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
25
-  (0.0ms) PRAGMA index_list("projects")
26
-  (0.0ms) PRAGMA index_list("users")
27
-  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')
28
-  (0.0ms) PRAGMA index_info('index_users_on_email')
29
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
30
-  (0.2ms) select sqlite_version(*)
31
-  (5.9ms) CREATE 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) 
32
-  (1.9ms) 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
-  (0.0ms) PRAGMA index_list("users")
34
-  (2.4ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
35
-  (0.1ms) PRAGMA index_list("users")
36
-  (0.1ms) PRAGMA index_info('index_users_on_email')
37
-  (2.7ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
38
-  (2.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
39
-  (0.1ms) PRAGMA index_list("schema_migrations")
40
-  (2.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
41
-  (0.1ms) SELECT version FROM "schema_migrations"
42
-  (2.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20120420005606')
43
-  (1.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20120420004117')
44
-  (0.1ms) select sqlite_version(*)
45
-  (2.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
46
-  (0.1ms) PRAGMA index_list("schema_migrations")
47
-  (1.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
48
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
49
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
50
- Migrating to DeviseCreateUsers (20120420004117)
51
-  (0.0ms) select sqlite_version(*)
52
-  (0.0ms) begin transaction
53
-  (0.4ms) 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
   (0.0ms) PRAGMA index_list("users")
55
-  (0.3ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
56
-  (0.1ms) PRAGMA index_list("users")
57
14
   (0.0ms) PRAGMA index_info('index_users_on_email')
58
-  (0.2ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
15
+  (0.1ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
59
16
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120420004117')
60
-  (21.7ms) commit transaction
17
+  (100.7ms) commit transaction
61
18
  Migrating to CreateProjects (20120420005606)
62
19
   (0.1ms) begin transaction
63
-  (0.3ms) 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) 
64
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120420005606')
65
-  (1.4ms) commit transaction
66
-  (0.4ms) select sqlite_version(*)
67
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
68
-  (0.0ms) PRAGMA index_list("projects")
69
-  (0.0ms) PRAGMA index_list("users")
70
-  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')
71
-  (0.0ms) PRAGMA index_info('index_users_on_email')
72
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
73
-  (0.2ms) select sqlite_version(*)
74
-  (6.1ms) 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) 
75
-  (2.2ms) 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
-  (0.1ms) PRAGMA index_list("users")
77
-  (2.4ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
78
-  (0.1ms) PRAGMA index_list("users")
79
-  (0.1ms) PRAGMA index_info('index_users_on_email')
80
-  (2.4ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
81
-  (1.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
82
-  (0.1ms) PRAGMA index_list("schema_migrations")
83
-  (2.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
84
-  (0.1ms) SELECT version FROM "schema_migrations"
85
-  (2.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20120420005606')
86
-  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20120420004117')
87
-  (0.1ms) select sqlite_version(*)
88
-  (3.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
89
-  (0.1ms) PRAGMA index_list("schema_migrations")
90
-  (2.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
91
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
92
- Migrating to DeviseCreateUsers (20120420004117)
93
-  (0.1ms) begin transaction
94
-  (0.6ms) 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) 
95
-  (0.0ms) PRAGMA index_list("users")
96
-  (0.5ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
97
-  (0.0ms) PRAGMA index_list("users")
98
-  (0.0ms) PRAGMA index_info('index_users_on_email')
99
-  (0.2ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
100
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120420004117')
101
-  (2.7ms) commit transaction
102
- Migrating to CreateProjects (20120420005606)
103
-  (0.1ms) begin transaction
104
-  (0.0ms) rollback transaction
105
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
106
- Migrating to DeviseCreateUsers (20120420004117)
107
- Migrating to CreateProjects (20120420005606)
108
-  (0.0ms) select sqlite_version(*)
109
-  (0.0ms) begin transaction
110
-  (0.0ms) rollback transaction
111
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
112
- Migrating to DeviseCreateUsers (20120420004117)
113
- Migrating to CreateProjects (20120420005606)
114
-  (0.0ms) select sqlite_version(*)
115
-  (0.0ms) begin transaction
116
-  (0.0ms) rollback transaction
117
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
118
- Migrating to DeviseCreateUsers (20120420004117)
119
- Migrating to CreateProjects (20120420005606)
120
-  (0.0ms) select sqlite_version(*)
121
-  (0.0ms) begin transaction
122
-  (0.0ms) rollback transaction
123
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
124
- Migrating to DeviseCreateUsers (20120420004117)
125
- Migrating to CreateProjects (20120420005606)
126
-  (0.0ms) select sqlite_version(*)
127
-  (0.0ms) begin transaction
128
-  (0.0ms) rollback transaction
129
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
130
- Migrating to DeviseCreateUsers (20120420004117)
131
- Migrating to CreateProjects (20120420005606)
132
-  (0.0ms) select sqlite_version(*)
133
-  (0.0ms) begin transaction
134
-  (0.0ms) rollback transaction
135
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
136
- Migrating to DeviseCreateUsers (20120420004117)
137
- Migrating to CreateProjects (20120420005606)
138
-  (0.0ms) select sqlite_version(*)
139
-  (0.0ms) begin transaction
140
-  (0.0ms) rollback transaction
141
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
142
- Migrating to DeviseCreateUsers (20120420004117)
143
- Migrating to CreateProjects (20120420005606)
144
-  (0.0ms) select sqlite_version(*)
145
-  (0.0ms) begin transaction
146
-  (0.0ms) rollback transaction
147
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
148
- Migrating to DeviseCreateUsers (20120420004117)
149
- Migrating to CreateProjects (20120420005606)
150
-  (0.0ms) select sqlite_version(*)
151
-  (0.0ms) begin transaction
152
-  (0.8ms) 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
-  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120420005606')
154
-  (6.2ms) commit transaction
155
-  (0.3ms) select sqlite_version(*)
156
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
157
-  (0.0ms) PRAGMA index_list("projects")
158
-  (0.0ms) PRAGMA index_list("users")
159
-  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')
160
-  (0.0ms) PRAGMA index_info('index_users_on_email')
161
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
162
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
163
- Migrating to CreateProjects (20120420005606)
164
-  (0.0ms) select sqlite_version(*)
165
-  (0.0ms) begin transaction
166
-  (0.7ms) DROP TABLE "projects"
167
-  (0.2ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120420005606'
168
-  (1.8ms) commit transaction
169
-  (0.4ms) select sqlite_version(*)
170
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
171
-  (0.0ms) PRAGMA index_list("users")
172
-  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')
173
-  (0.0ms) PRAGMA index_info('index_users_on_email')
174
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
175
- Migrating to DeviseCreateUsers (20120420004117)
176
- Migrating to CreateProjects (20120420005606)
177
-  (0.0ms) select sqlite_version(*)
178
-  (0.0ms) begin transaction
179
-  (0.4ms) 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
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120420005606')
181
-  (6.3ms) commit transaction
182
-  (0.5ms) select sqlite_version(*)
183
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
184
-  (0.0ms) PRAGMA index_list("projects")
185
-  (0.0ms) PRAGMA index_list("users")
186
-  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')
187
-  (0.0ms) PRAGMA index_info('index_users_on_email')
188
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
189
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
190
- Migrating to CreateProjects (20120420005606)
191
-  (0.0ms) select sqlite_version(*)
192
-  (0.0ms) begin transaction
193
-  (0.4ms) DROP TABLE "projects"
194
-  (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120420005606'
195
-  (6.4ms) commit transaction
196
-  (0.4ms) select sqlite_version(*)
197
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
198
-  (0.0ms) PRAGMA index_list("users")
199
-  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')
200
-  (0.0ms) PRAGMA index_info('index_users_on_email')
201
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
202
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
203
- Migrating to DeviseCreateUsers (20120420004117)
204
-  (0.0ms) select sqlite_version(*)
205
-  (0.0ms) begin transaction
206
-  (0.1ms) PRAGMA index_list("users")
207
-  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')
208
-  (0.0ms) PRAGMA index_info('index_users_on_email')
209
-  (0.3ms) DROP INDEX "index_users_on_reset_password_token"
210
-  (0.0ms) PRAGMA index_list("users")
211
-  (0.0ms) PRAGMA index_info('index_users_on_email')
212
-  (0.3ms) DROP INDEX "index_users_on_email"
213
-  (0.1ms) DROP TABLE "users"
214
-  (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120420004117'
215
-  (2.3ms) commit transaction
216
-  (0.2ms) select sqlite_version(*)
217
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
218
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
219
- Migrating to DeviseCreateUsers (20120420004117)
220
-  (0.0ms) select sqlite_version(*)
221
-  (0.0ms) begin transaction
222
-  (0.4ms) 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
-  (0.0ms) PRAGMA index_list("users")
224
-  (0.4ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
225
-  (0.0ms) PRAGMA index_list("users")
226
-  (0.0ms) PRAGMA index_info('index_users_on_email')
227
-  (0.2ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
228
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120420004117')
229
-  (6.0ms) commit transaction
230
- Migrating to CreateProjects (20120420005606)
231
-  (0.1ms) begin transaction
232
-  (0.5ms) 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) 
20
+  (0.6ms) 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) 
233
21
   (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120420005606')
234
-  (1.3ms) commit transaction
235
-  (0.4ms) select sqlite_version(*)
236
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
237
-  (0.0ms) PRAGMA index_list("projects")
238
-  (0.0ms) PRAGMA index_list("users")
239
-  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')
240
-  (0.0ms) PRAGMA index_info('index_users_on_email')
241
-  (13.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
242
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
243
- Migrating to CreateProjects (20120420005606)
244
-  (0.1ms) select sqlite_version(*)
245
-  (0.1ms) begin transaction
246
-  (1.3ms) DROP TABLE "projects"
247
-  (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120420005606'
248
-  (2.7ms) commit transaction
249
-  (0.2ms) select sqlite_version(*)
250
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
251
-  (0.0ms) PRAGMA index_list("users")
252
-  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')
253
-  (0.0ms) PRAGMA index_info('index_users_on_email')
254
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
255
- Migrating to DeviseCreateUsers (20120420004117)
256
- Migrating to CreateProjects (20120420005606)
257
-  (0.0ms) select sqlite_version(*)
258
-  (0.0ms) begin transaction
259
-  (0.4ms) 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
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120420005606')
261
-  (6.4ms) commit transaction
262
-  (0.4ms) select sqlite_version(*)
263
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
264
-  (0.0ms) PRAGMA index_list("projects")
265
-  (0.0ms) PRAGMA index_list("users")
266
-  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')
267
-  (0.0ms) PRAGMA index_info('index_users_on_email')
268
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
269
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
270
- Migrating to CreateProjects (20120420005606)
271
-  (0.0ms) select sqlite_version(*)
272
-  (0.0ms) begin transaction
273
-  (0.4ms) DROP TABLE "projects"
274
-  (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120420005606'
275
-  (5.9ms) commit transaction
276
-  (0.3ms) select sqlite_version(*)
277
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
278
-  (0.0ms) PRAGMA index_list("users")
279
-  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')
280
-  (0.0ms) PRAGMA index_info('index_users_on_email')
281
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
282
- Migrating to DeviseCreateUsers (20120420004117)
283
- Migrating to CreateProjects (20120420005606)
284
-  (0.0ms) select sqlite_version(*)
285
-  (0.0ms) begin transaction
286
-  (0.4ms) 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
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120420005606')
288
-  (6.1ms) commit transaction
289
-  (0.3ms) select sqlite_version(*)
290
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
291
-  (0.0ms) PRAGMA index_list("projects")
292
-  (0.0ms) PRAGMA index_list("users")
293
-  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')
294
-  (0.0ms) PRAGMA index_info('index_users_on_email')
295
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
296
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
297
- Migrating to CreateProjects (20120420005606)
298
-  (0.0ms) select sqlite_version(*)
299
-  (0.0ms) begin transaction
300
-  (0.3ms) DROP TABLE "projects"
301
-  (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120420005606'
302
-  (5.9ms) commit transaction
303
-  (0.4ms) select sqlite_version(*)
304
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
305
-  (0.0ms) PRAGMA index_list("users")
306
-  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')
307
-  (0.0ms) PRAGMA index_info('index_users_on_email')
308
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
309
- Migrating to DeviseCreateUsers (20120420004117)
310
- Migrating to CreateProjects (20120420005606)
311
-  (0.0ms) select sqlite_version(*)
312
-  (0.0ms) begin transaction
313
-  (0.3ms) CREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" text)
314
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120420005606')
315
-  (6.5ms) commit transaction
316
- Migrating to BlameProjects (20120420005607)
317
-  (0.1ms) begin transaction
318
-  (0.1ms) rollback transaction
319
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
320
- Migrating to DeviseCreateUsers (20120420004117)
321
- Migrating to CreateProjects (20120420005606)
322
- Migrating to BlameProjects (20120420005607)
323
-  (0.0ms) select sqlite_version(*)
324
-  (0.0ms) begin transaction
325
-  (0.0ms) rollback transaction
326
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
327
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
328
- Migrating to CreateProjects (20120420005606)
329
-  (0.0ms) select sqlite_version(*)
330
-  (0.0ms) begin transaction
331
-  (0.4ms) DROP TABLE "projects"
332
-  (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120420005606'
333
-  (6.0ms) commit transaction
334
-  (0.2ms) select sqlite_version(*)
335
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
336
-  (0.0ms) PRAGMA index_list("users")
337
-  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')
338
-  (0.0ms) PRAGMA index_info('index_users_on_email')
339
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
340
- Migrating to DeviseCreateUsers (20120420004117)
341
- Migrating to CreateProjects (20120420005606)
342
-  (0.0ms) select sqlite_version(*)
343
-  (0.0ms) begin transaction
344
-  (0.4ms) CREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" text)
345
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120420005606')
346
-  (6.3ms) commit transaction
347
- Migrating to BlameProjects (20120420005607)
348
-  (0.1ms) begin transaction
349
-  (0.0ms) rollback transaction
350
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
351
- Migrating to DeviseCreateUsers (20120420004117)
352
- Migrating to CreateProjects (20120420005606)
353
- Migrating to BlameProjects (20120420005607)
354
-  (0.0ms) select sqlite_version(*)
355
-  (0.0ms) begin transaction
356
-  (0.3ms) ALTER TABLE "projects" ADD "blame_cre_at" datetime
357
-  (0.1ms) ALTER TABLE "projects" ADD "blame_upd_at" datetime
358
-  (0.1ms) ALTER TABLE "projects" ADD "blame_cre_by" integer
359
-  (0.1ms) ALTER TABLE "projects" ADD "blame_upd_by" integer
360
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120420005607')
361
-  (5.9ms) commit transaction
362
-  (0.3ms) select sqlite_version(*)
363
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
364
-  (0.0ms) PRAGMA index_list("projects")
365
-  (0.0ms) PRAGMA index_list("users")
366
-  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')
367
-  (0.0ms) PRAGMA index_info('index_users_on_email')
368
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
369
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
370
- Migrating to BlameProjects (20120420005607)
371
-  (0.0ms) select sqlite_version(*)
372
-  (0.0ms) begin transaction
373
-  (0.0ms) rollback transaction
374
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
375
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
376
- Migrating to BlameProjects (20120420005607)
377
-  (0.0ms) select sqlite_version(*)
378
-  (0.0ms) begin transaction
379
-  (0.5ms) CREATE 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) 
380
-  (0.0ms) PRAGMA index_list("projects")
381
-  (0.1ms) SELECT * FROM "projects"
382
-  (0.2ms) DROP TABLE "projects"
383
-  (0.1ms) CREATE 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) 
384
-  (0.0ms) PRAGMA index_list("altered_projects")
385
-  (0.0ms) SELECT * FROM "altered_projects"
386
-  (0.3ms) DROP TABLE "altered_projects"
387
-  (0.1ms) CREATE 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) 
388
-  (0.0ms) PRAGMA index_list("projects")
389
-  (0.0ms) SELECT * FROM "projects"
390
-  (0.2ms) DROP TABLE "projects"
391
-  (0.1ms) CREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" text, "blame_cre_by" integer, "blame_upd_by" integer) 
392
-  (0.0ms) PRAGMA index_list("altered_projects")
393
-  (0.0ms) SELECT * FROM "altered_projects"
394
-  (0.1ms) DROP TABLE "altered_projects"
395
-  (0.1ms) CREATE TEMPORARY TABLE "altered_projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" text, "blame_cre_by" integer, "blame_upd_by" integer) 
396
-  (0.0ms) PRAGMA index_list("projects")
397
-  (0.0ms) SELECT * FROM "projects"
398
-  (0.1ms) DROP TABLE "projects"
399
-  (0.1ms) CREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" text, "blame_upd_by" integer) 
400
-  (0.0ms) PRAGMA index_list("altered_projects")
401
-  (0.0ms) SELECT * FROM "altered_projects"
402
-  (0.1ms) DROP TABLE "altered_projects"
403
-  (0.1ms) CREATE TEMPORARY TABLE "altered_projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" text, "blame_upd_by" integer) 
404
-  (0.0ms) PRAGMA index_list("projects")
405
-  (0.0ms) SELECT * FROM "projects"
406
-  (0.1ms) DROP TABLE "projects"
407
-  (0.1ms) CREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" text) 
408
-  (0.0ms) PRAGMA index_list("altered_projects")
409
-  (0.0ms) SELECT * FROM "altered_projects"
410
-  (0.1ms) DROP TABLE "altered_projects"
411
-  (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120420005607'
412
-  (6.7ms) commit transaction
413
-  (0.4ms) select sqlite_version(*)
414
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
415
-  (0.0ms) PRAGMA index_list("projects")
416
-  (0.0ms) PRAGMA index_list("users")
417
-  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')
418
-  (0.0ms) PRAGMA index_info('index_users_on_email')
419
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
420
- Migrating to DeviseCreateUsers (20120420004117)
421
- Migrating to CreateProjects (20120420005606)
422
- Migrating to BlameProjects (20120420005607)
423
-  (0.0ms) select sqlite_version(*)
424
-  (0.0ms) begin transaction
425
-  (0.4ms) ALTER TABLE "projects" ADD "blame_cre_at" datetime
426
-  (0.1ms) ALTER TABLE "projects" ADD "blame_upd_at" datetime
427
-  (0.1ms) ALTER TABLE "projects" ADD "blame_cre_by" integer
428
-  (0.1ms) ALTER TABLE "projects" ADD "blame_upd_by" integer
429
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120420005607')
430
-  (6.3ms) commit transaction
431
-  (0.4ms) select sqlite_version(*)
432
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
433
-  (0.0ms) PRAGMA index_list("projects")
434
-  (0.0ms) PRAGMA index_list("users")
435
-  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')
436
-  (0.0ms) PRAGMA index_info('index_users_on_email')
437
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
438
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
439
- Migrating to BlameProjects (20120420005607)
440
-  (0.0ms) select sqlite_version(*)
22
+  (0.8ms) commit transaction
23
+ Migrating to CreateAlligators (20120504022124)
441
24
   (0.0ms) begin transaction
442
-  (0.5ms) CREATE 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) 
443
-  (0.0ms) PRAGMA index_list("projects")
444
-  (0.1ms) SELECT * FROM "projects"
445
-  (0.2ms) DROP TABLE "projects"
446
-  (0.1ms) CREATE 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) 
447
-  (0.0ms) PRAGMA index_list("altered_projects")
448
-  (0.0ms) SELECT * FROM "altered_projects"
449
-  (0.3ms) DROP TABLE "altered_projects"
450
-  (0.1ms) CREATE 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) 
451
-  (0.0ms) PRAGMA index_list("projects")
452
-  (0.0ms) SELECT * FROM "projects"
453
-  (0.2ms) DROP TABLE "projects"
454
-  (0.1ms) CREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" text, "blame_cre_by" integer, "blame_upd_by" integer) 
455
-  (0.0ms) PRAGMA index_list("altered_projects")
456
-  (0.0ms) SELECT * FROM "altered_projects"
457
-  (0.1ms) DROP TABLE "altered_projects"
458
-  (0.1ms) CREATE TEMPORARY TABLE "altered_projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" text, "blame_cre_by" integer, "blame_upd_by" integer) 
459
-  (0.0ms) PRAGMA index_list("projects")
460
-  (0.0ms) SELECT * FROM "projects"
461
-  (0.1ms) DROP TABLE "projects"
462
-  (0.1ms) CREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" text, "blame_upd_by" integer) 
463
-  (0.0ms) PRAGMA index_list("altered_projects")
464
-  (0.0ms) SELECT * FROM "altered_projects"
465
-  (0.1ms) DROP TABLE "altered_projects"
466
-  (0.2ms) CREATE TEMPORARY TABLE "altered_projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" text, "blame_upd_by" integer) 
467
-  (0.0ms) PRAGMA index_list("projects")
468
-  (0.0ms) SELECT * FROM "projects"
469
-  (0.1ms) DROP TABLE "projects"
470
-  (0.1ms) CREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" text) 
471
-  (0.0ms) PRAGMA index_list("altered_projects")
472
-  (0.0ms) SELECT * FROM "altered_projects"
473
-  (0.1ms) DROP TABLE "altered_projects"
474
-  (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120420005607'
475
-  (6.8ms) commit transaction
476
-  (0.4ms) select sqlite_version(*)
477
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
478
-  (0.0ms) PRAGMA index_list("projects")
479
-  (0.0ms) PRAGMA index_list("users")
480
-  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')
481
-  (0.0ms) PRAGMA index_info('index_users_on_email')
482
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
483
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
484
- Migrating to CreateProjects (20120420005606)
485
-  (0.0ms) select sqlite_version(*)
25
+  (0.4ms) 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) 
26
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120504022124')
27
+  (0.8ms) commit transaction
28
+ Migrating to CreateFlags (20120504025050)
486
29
   (0.0ms) begin transaction
487
-  (0.3ms) DROP TABLE "projects"
488
-  (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120420005606'
489
-  (5.8ms) commit transaction
30
+  (0.4ms) 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) 
31
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120504025050')
32
+  (0.5ms) commit transaction
490
33
   (0.3ms) select sqlite_version(*)
491
34
   (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
492
-  (0.0ms) PRAGMA index_list("users")
493
-  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')
494
-  (0.0ms) PRAGMA index_info('index_users_on_email')
495
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
496
- Migrating to DeviseCreateUsers (20120420004117)
497
- Migrating to CreateProjects (20120420005606)
498
-  (0.0ms) select sqlite_version(*)
499
-  (0.1ms) begin transaction
500
-  (0.4ms) CREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "desc" text)
501
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120420005606')
502
-  (6.4ms) commit transaction
503
- Migrating to BlameProjects (20120420005607)
504
-  (0.6ms) begin transaction
505
-  (0.6ms) ALTER TABLE "projects" ADD "blame_cre_at" datetime
506
-  (0.3ms) ALTER TABLE "projects" ADD "blame_upd_at" datetime
507
-  (0.2ms) ALTER TABLE "projects" ADD "blame_cre_by" integer
508
-  (0.2ms) ALTER TABLE "projects" ADD "blame_upd_by" integer
509
-  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120420005607')
510
-  (1.9ms) commit transaction
511
-  (0.4ms) select sqlite_version(*)
512
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
35
+  (0.0ms) PRAGMA index_list("alligators")
36
+  (0.0ms) PRAGMA index_list("flags")
513
37
   (0.0ms) PRAGMA index_list("projects")
514
38
   (0.0ms) PRAGMA index_list("users")
515
39
   (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')
516
40
   (0.0ms) PRAGMA index_info('index_users_on_email')
517
-  (0.1ms) select sqlite_version(*)
518
-  (5.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
519
-  (0.0ms) PRAGMA index_list("schema_migrations")
520
-  (1.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
521
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
522
- Migrating to DeviseCreateUsers (20120420004117)
523
-  (0.0ms) begin transaction
524
-  (0.7ms) 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) 
525
-  (0.0ms) PRAGMA index_list("users")
526
-  (0.5ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
527
-  (0.1ms) PRAGMA index_list("users")
528
-  (0.0ms) PRAGMA index_info('index_users_on_email')
529
-  (0.2ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
530
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120420004117')
531
-  (1.9ms) commit transaction
532
- Migrating to CreateProjects (20120420005606)
533
-  (0.3ms) begin transaction
534
-  (0.3ms) 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
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120420005606')
536
-  (1.6ms) commit transaction
537
-  (0.3ms) select sqlite_version(*)
538
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
539
-  (0.0ms) PRAGMA index_list("projects")
540
-  (0.0ms) PRAGMA index_list("users")
541
-  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')
542
-  (0.0ms) PRAGMA index_info('index_users_on_email')
543
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
544
-  (0.4ms) select sqlite_version(*)
545
-  (2.7ms) 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) 
546
-  (2.0ms) 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
-  (0.0ms) PRAGMA index_list("users")
548
-  (1.6ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
549
-  (0.0ms) PRAGMA index_list("users")
550
-  (0.0ms) PRAGMA index_info('index_users_on_email')
551
-  (2.3ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
552
-  (1.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
553
-  (0.0ms) PRAGMA index_list("schema_migrations")
554
-  (1.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
555
-  (0.1ms) SELECT version FROM "schema_migrations"
556
-  (1.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20120420005606')
557
-  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120420004117')
558
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
559
-  (0.2ms) select sqlite_version(*)
560
-  (1.4ms) 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) 
561
-  (1.4ms) 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
-  (0.0ms) PRAGMA index_list("users")
563
-  (1.5ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
564
-  (0.0ms) PRAGMA index_list("users")
565
-  (0.0ms) PRAGMA index_info('index_users_on_email')
566
-  (1.4ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
567
-  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
568
-  (0.0ms) PRAGMA index_list("schema_migrations")
569
-  (1.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
570
-  (0.1ms) SELECT version FROM "schema_migrations"
571
-  (1.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20120420005606')
572
-  (2.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120420004117')
573
41
   (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
574
42
   (0.2ms) select sqlite_version(*)
575
-  (5.8ms) 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) 
576
-  (1.5ms) 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)
43
+  (99.6ms) 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) 
44
+  (1.4ms) 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
+  (0.7ms) 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) 
46
+  (1.1ms) 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
   (0.0ms) PRAGMA index_list("users")
578
-  (1.4ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
48
+  (0.9ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
579
49
   (0.0ms) PRAGMA index_list("users")
580
50
   (0.0ms) PRAGMA index_info('index_users_on_email')
581
-  (1.4ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
582
-  (2.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
51
+  (0.9ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
52
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
583
53
   (0.0ms) PRAGMA index_list("schema_migrations")
584
-  (1.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
54
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
585
55
   (0.1ms) SELECT version FROM "schema_migrations"
586
-  (1.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20120420005606')
587
-  (1.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20120420004117')
588
-  (0.1ms) select sqlite_version(*)
589
-  (6.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
590
-  (0.6ms) PRAGMA index_list("schema_migrations")
591
-  (1.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
592
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
593
- Migrating to DeviseCreateUsers (20120420004117)
594
-  (0.1ms) begin transaction
595
-  (0.4ms) 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) 
596
-  (0.0ms) PRAGMA index_list("users")
597
-  (0.4ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
598
-  (0.0ms) PRAGMA index_list("users")
599
-  (0.0ms) PRAGMA index_info('index_users_on_email')
600
-  (0.1ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
601
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120420004117')
602
-  (2.0ms) commit transaction
603
- Migrating to CreateProjects (20120420005606)
604
-  (0.0ms) begin transaction
605
-  (0.3ms) 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
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120420005606')
607
-  (1.8ms) commit transaction
608
-  (0.3ms) select sqlite_version(*)
609
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
610
-  (0.0ms) PRAGMA index_list("projects")
611
-  (0.0ms) PRAGMA index_list("users")
612
-  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')
613
-  (0.0ms) PRAGMA index_info('index_users_on_email')
614
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
615
- Migrating to DeviseCreateUsers (20120420004117)
616
- Migrating to CreateProjects (20120420005606)
617
-  (0.2ms) select sqlite_version(*)
618
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
619
-  (0.0ms) PRAGMA index_list("projects")
620
-  (0.0ms) PRAGMA index_list("users")
621
-  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')
622
-  (0.0ms) PRAGMA index_info('index_users_on_email')
56
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20120504025050')
57
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20120420004117')
58
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20120420005606')
59
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20120504022124')
623
60
   (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
624
61
   (0.2ms) select sqlite_version(*)
625
-  (306.1ms) 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) 
626
-  (2.3ms) 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)
62
+  (3.8ms) 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) 
63
+  (1.6ms) 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
+  (1.1ms) 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) 
65
+  (1.2ms) 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
   (0.1ms) PRAGMA index_list("users")
628
-  (2.4ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
629
-  (0.1ms) PRAGMA index_list("users")
630
-  (0.0ms) PRAGMA index_info('index_users_on_email')
631
-  (2.0ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
632
-  (1.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
633
-  (0.1ms) PRAGMA index_list("schema_migrations")
634
-  (1.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
635
-  (0.1ms) SELECT version FROM "schema_migrations"
636
-  (1.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20120420005606')
637
-  (2.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20120420004117')
638
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
639
- Migrating to DeviseCreateUsers (20120420004117)
640
- Migrating to CreateProjects (20120420005606)
641
- Migrating to CreateAlligators (20120504022124)
642
-  (0.0ms) select sqlite_version(*)
643
-  (0.0ms) begin transaction
644
-  (0.0ms) rollback transaction
645
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
646
- Migrating to DeviseCreateUsers (20120420004117)
647
- Migrating to CreateProjects (20120420005606)
648
- Migrating to CreateAlligators (20120504022124)
649
-  (0.0ms) select sqlite_version(*)
650
-  (0.0ms) begin transaction
651
-  (0.3ms) 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
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120504022124')
653
-  (2.3ms) commit transaction
654
- Migrating to CreateFlags (20120504025050)
655
-  (0.0ms) begin transaction
656
-  (0.3ms) 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
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120504025050')
658
-  (1.8ms) commit transaction
659
-  (0.3ms) select sqlite_version(*)
660
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
661
-  (0.0ms) PRAGMA index_list("alligators")
662
-  (0.0ms) PRAGMA index_list("flags")
663
-  (0.0ms) PRAGMA index_list("projects")
664
-  (0.0ms) PRAGMA index_list("users")
665
-  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')
666
-  (0.0ms) PRAGMA index_info('index_users_on_email')
667
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
668
-  (0.4ms) select sqlite_version(*)
669
-  (3.3ms) 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) 
670
-  (1.8ms) 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
-  (1.9ms) 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) 
672
-  (2.7ms) 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
-  (0.1ms) PRAGMA index_list("users")
674
-  (2.3ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
675
-  (0.1ms) PRAGMA index_list("users")
676
-  (0.1ms) PRAGMA index_info('index_users_on_email')
677
-  (2.0ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
678
-  (2.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
679
-  (0.4ms) PRAGMA index_list("schema_migrations")
680
-  (1.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
681
-  (0.1ms) SELECT version FROM "schema_migrations"
682
-  (1.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20120504025050')
683
-  (1.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20120420004117')
684
-  (1.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20120420005606')
685
-  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20120504022124')
686
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
687
-  (0.2ms) select sqlite_version(*)
688
-  (5.9ms) 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) 
689
-  (2.1ms) 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
-  (2.4ms) 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) 
691
-  (2.1ms) 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
-  (0.0ms) PRAGMA index_list("users")
693
-  (1.7ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
694
-  (0.0ms) PRAGMA index_list("users")
695
-  (0.0ms) PRAGMA index_info('index_users_on_email')
696
-  (2.0ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
697
-  (2.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
698
-  (0.0ms) PRAGMA index_list("schema_migrations")
699
-  (1.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
700
-  (0.1ms) SELECT version FROM "schema_migrations"
701
-  (1.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20120504025050')
702
-  (1.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20120420004117')
703
-  (1.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20120420005606')
704
-  (1.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20120504022124')
705
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
706
-  (0.2ms) select sqlite_version(*)
707
-  (6.0ms) 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) 
708
-  (1.4ms) 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
-  (1.9ms) 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) 
710
-  (2.3ms) 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
-  (0.0ms) PRAGMA index_list("users")
712
-  (1.8ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
713
-  (0.4ms) PRAGMA index_list("users")
714
-  (0.0ms) PRAGMA index_info('index_users_on_email')
715
-  (2.1ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
716
-  (2.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
717
-  (0.0ms) PRAGMA index_list("schema_migrations")
718
-  (1.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
719
-  (0.1ms) SELECT version FROM "schema_migrations"
720
-  (1.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20120504025050')
721
-  (1.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20120420004117')
722
-  (1.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20120420005606')
723
-  (1.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20120504022124')
724
-  (0.1ms) select sqlite_version(*)
725
-  (5.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
726
-  (0.0ms) PRAGMA index_list("schema_migrations")
727
-  (1.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
728
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
729
- Migrating to DeviseCreateUsers (20120420004117)
730
-  (0.0ms) begin transaction
731
-  (0.4ms) 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) 
732
-  (0.0ms) PRAGMA index_list("users")
733
-  (0.3ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
734
-  (0.0ms) PRAGMA index_list("users")
735
-  (0.0ms) PRAGMA index_info('index_users_on_email')
736
-  (0.1ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
737
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120420004117')
738
-  (2.2ms) commit transaction
739
- Migrating to CreateProjects (20120420005606)
740
-  (0.0ms) begin transaction
741
-  (0.4ms) 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
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120420005606')
743
-  (1.6ms) commit transaction
744
- Migrating to CreateAlligators (20120504022124)
745
-  (0.0ms) begin transaction
746
-  (0.4ms) 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
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120504022124')
748
-  (1.5ms) commit transaction
749
- Migrating to CreateFlags (20120504025050)
750
-  (0.0ms) begin transaction
751
-  (0.3ms) 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
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120504025050')
753
-  (2.0ms) commit transaction
754
-  (0.3ms) select sqlite_version(*)
755
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
756
-  (0.0ms) PRAGMA index_list("alligators")
757
-  (0.0ms) PRAGMA index_list("flags")
758
-  (0.0ms) PRAGMA index_list("projects")
759
-  (0.0ms) PRAGMA index_list("users")
760
-  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')
761
-  (0.0ms) PRAGMA index_info('index_users_on_email')
762
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
763
-  (0.2ms) select sqlite_version(*)
764
-  (1.6ms) 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) 
765
-  (1.5ms) 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
-  (1.6ms) 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) 
767
-  (1.4ms) 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
-  (0.0ms) PRAGMA index_list("users")
769
-  (1.2ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
67
+  (0.9ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
770
68
   (0.0ms) PRAGMA index_list("users")
771
69
   (0.0ms) PRAGMA index_info('index_users_on_email')
772
-  (1.4ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
773
-  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
70
+  (0.8ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
71
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
774
72
   (0.0ms) PRAGMA index_list("schema_migrations")
775
-  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
73
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
776
74
   (0.1ms) SELECT version FROM "schema_migrations"
777
-  (1.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20120504025050')
778
-  (1.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20120420004117')
779
-  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20120420005606')
780
-  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20120504022124')
75
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20120504025050')
76
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20120420004117')
77
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20120420005606')
78
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20120504022124')