mailboxer_multi_attach 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +7 -0
- data/.ruby-version +1 -0
- data/Gemfile +17 -0
- data/Gemfile.lock +160 -0
- data/MIT-LICENSE +20 -0
- data/README.md +17 -0
- data/README.rdoc +18 -0
- data/Rakefile +31 -0
- data/app/models/message_attachment.rb +8 -0
- data/app/models/messageable.rb +34 -0
- data/app/uploaders/message_file_uploader.rb +5 -0
- data/db/migrate/20151123194517_create_message_attachments.rb +10 -0
- data/lib/generators/mailboxer_multi_attach/install_generator.rb +22 -0
- data/lib/generators/mailboxer_multi_attach/templates/create_message_attachments.rb +10 -0
- data/lib/mailboxer_multi_attach/version.rb +3 -0
- data/lib/mailboxer_multi_attach.rb +7 -0
- data/lib/tasks/mailboxer_multi_attach_tasks.rake +4 -0
- data/mailboxer_multi_attach.gemspec +28 -0
- data/spec/dummy/Gemfile +5 -0
- data/spec/dummy/Gemfile.lock +113 -0
- data/spec/dummy/README.rdoc +261 -0
- data/spec/dummy/Rakefile +7 -0
- data/spec/dummy/app/assets/javascripts/application.js +15 -0
- data/spec/dummy/app/assets/stylesheets/application.css +13 -0
- data/spec/dummy/app/controllers/application_controller.rb +3 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/mailers/.gitkeep +0 -0
- data/spec/dummy/app/models/.gitkeep +0 -0
- data/spec/dummy/app/models/message_attachment.rb +3 -0
- data/spec/dummy/app/models/user.rb +7 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/app/views/mailboxer/message_mailer/new_message_email.html.erb +20 -0
- data/spec/dummy/app/views/mailboxer/message_mailer/new_message_email.text.erb +10 -0
- data/spec/dummy/app/views/mailboxer/message_mailer/reply_message_email.html.erb +20 -0
- data/spec/dummy/app/views/mailboxer/message_mailer/reply_message_email.text.erb +10 -0
- data/spec/dummy/app/views/mailboxer/notification_mailer/new_notification_email.html.erb +20 -0
- data/spec/dummy/app/views/mailboxer/notification_mailer/new_notification_email.text.erb +10 -0
- data/spec/dummy/config/application.rb +60 -0
- data/spec/dummy/config/boot.rb +10 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +37 -0
- data/spec/dummy/config/environments/production.rb +67 -0
- data/spec/dummy/config/environments/test.rb +37 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/inflections.rb +15 -0
- data/spec/dummy/config/initializers/mailboxer.rb +21 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +7 -0
- data/spec/dummy/config/initializers/session_store.rb +8 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +5 -0
- data/spec/dummy/config/routes.rb +58 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/20151123025448_create_users.rb +10 -0
- data/spec/dummy/db/migrate/20151123152908_create_mailboxer.mailboxer_engine.rb +66 -0
- data/spec/dummy/db/migrate/20151123152909_add_conversation_optout.mailboxer_engine.rb +15 -0
- data/spec/dummy/db/migrate/20151123152910_add_missing_indices.mailboxer_engine.rb +20 -0
- data/spec/dummy/db/migrate/20151123235316_create_message_attachments.rb +10 -0
- data/spec/dummy/db/schema.rb +83 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/lib/assets/.gitkeep +0 -0
- data/spec/dummy/log/.gitkeep +0 -0
- data/spec/dummy/log/development.log +372 -0
- data/spec/dummy/log/test.log +4181 -0
- data/spec/dummy/public/404.html +26 -0
- data/spec/dummy/public/422.html +26 -0
- data/spec/dummy/public/500.html +25 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/public/uploads/testfile.txt +1 -0
- data/spec/dummy/public/uploads/tmp/1448318001-52723-7553/testfile.txt +1 -0
- data/spec/dummy/public/uploads/tmp/1448377714-90292-0212/testfile.txt +1 -0
- data/spec/dummy/script/rails +6 -0
- data/spec/dummy/spec/models/message_attachment_spec.rb +5 -0
- data/spec/dummy/spec/models/user_spec.rb +5 -0
- data/spec/factories/user.rb +10 -0
- data/spec/mailboxer_multi_attach_spec.rb +0 -0
- data/spec/models/message_attachment_spec.rb +15 -0
- data/spec/models/messageable_spec.rb +19 -0
- data/spec/spec_helper.rb +40 -0
- data/spec/testfile.txt +1 -0
- metadata +339 -0
@@ -0,0 +1,372 @@
|
|
1
|
+
Connecting to database specified by database.yml
|
2
|
+
Connecting to database specified by database.yml
|
3
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
4
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
5
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
6
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
7
|
+
Migrating to CreateUsers (20151123023406)
|
8
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20151123023406')
|
10
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
11
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
12
|
+
Connecting to database specified by database.yml
|
13
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
14
|
+
Migrating to CreateUsers (20151123023406)
|
15
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
16
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
17
|
+
Connecting to database specified by database.yml
|
18
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
19
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
20
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
21
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
22
|
+
[1m[36m (1.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20151123023406')[0m
|
23
|
+
Connecting to database specified by database.yml
|
24
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
25
|
+
Migrating to CreateUsers (20151123023406)
|
26
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
27
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
28
|
+
Connecting to database specified by database.yml
|
29
|
+
Connecting to database specified by database.yml
|
30
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
31
|
+
Migrating to CreateUsers (20151123024617)
|
32
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
33
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34
|
+
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20151123024617')
|
35
|
+
[1m[36m (9.0ms)[0m [1mcommit transaction[0m
|
36
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
37
|
+
Connecting to database specified by database.yml
|
38
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
39
|
+
Migrating to CreateUsers (20151123024617)
|
40
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
41
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
42
|
+
Connecting to database specified by database.yml
|
43
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
44
|
+
Migrating to CreateUsers (20151123024617)
|
45
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
46
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
47
|
+
Connecting to database specified by database.yml
|
48
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
49
|
+
[1m[35m (9.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
50
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
51
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
52
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20151123024617')[0m
|
53
|
+
Connecting to database specified by database.yml
|
54
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
55
|
+
Migrating to CreateUsers (20151123024617)
|
56
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
57
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
58
|
+
Connecting to database specified by database.yml
|
59
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
60
|
+
Migrating to CreateUsers (20151123024617)
|
61
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
62
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
63
|
+
Connecting to database specified by database.yml
|
64
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
65
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
66
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
67
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
68
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
69
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20151123024617')
|
70
|
+
Connecting to database specified by database.yml
|
71
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
72
|
+
Migrating to CreateUsers (20151123024617)
|
73
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
74
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
75
|
+
Connecting to database specified by database.yml
|
76
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
77
|
+
Migrating to CreateUsers (20151123024617)
|
78
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
79
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
80
|
+
Connecting to database specified by database.yml
|
81
|
+
[1m[36m (0.4ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
82
|
+
Migrating to CreateUsers (20151123024617)
|
83
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
84
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
85
|
+
Connecting to database specified by database.yml
|
86
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
87
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
88
|
+
Connecting to database specified by database.yml
|
89
|
+
Connecting to database specified by database.yml
|
90
|
+
Connecting to database specified by database.yml
|
91
|
+
[1m[36m (0.4ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
92
|
+
Migrating to CreateUsers (20151123025448)
|
93
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
94
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
95
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
96
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20151123025448')[0m
|
97
|
+
[1m[35m (0.7ms)[0m commit transaction
|
98
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
99
|
+
Connecting to database specified by database.yml
|
100
|
+
Connecting to database specified by database.yml
|
101
|
+
[1m[36m (0.4ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
102
|
+
Migrating to CreateUsers (20151123025448)
|
103
|
+
Migrating to CreateMailboxer (20151123152908)
|
104
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
105
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
106
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "mailboxer_conversations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject" varchar(255) DEFAULT '', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
107
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "mailboxer_receipts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar(255), "notification_id" integer NOT NULL, "is_read" boolean DEFAULT 'f', "trashed" boolean DEFAULT 'f', "deleted" boolean DEFAULT 'f', "mailbox_type" varchar(25), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
108
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "mailboxer_notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "body" text, "subject" varchar(255) DEFAULT '', "sender_id" integer, "sender_type" varchar(255), "conversation_id" integer, "draft" boolean DEFAULT 'f', "notification_code" varchar(255), "notified_object_id" integer, "notified_object_type" varchar(255), "attachment" varchar(255), "updated_at" datetime NOT NULL, "created_at" datetime NOT NULL, "global" boolean DEFAULT 'f', "expires" datetime)
|
109
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_mailboxer_receipts_on_notification_id" ON "mailboxer_receipts" ("notification_id")[0m
|
110
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_mailboxer_notifications_on_conversation_id" ON "mailboxer_notifications" ("conversation_id")
|
111
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20151123152908')[0m
|
112
|
+
[1m[35m (0.8ms)[0m commit transaction
|
113
|
+
Migrating to AddConversationOptout (20151123152909)
|
114
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
115
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "mailboxer_conversation_opt_outs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "unsubscriber_id" integer, "unsubscriber_type" varchar(255), "conversation_id" integer)
|
116
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20151123152909')[0m
|
117
|
+
[1m[35m (0.5ms)[0m commit transaction
|
118
|
+
Migrating to AddMissingIndices (20151123152910)
|
119
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
120
|
+
[1m[35m (0.3ms)[0m CREATE INDEX "index_mailboxer_conversation_opt_outs_on_unsubscriber_id_type" ON "mailboxer_conversation_opt_outs" ("unsubscriber_id", "unsubscriber_type")
|
121
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_mailboxer_conversation_opt_outs_on_conversation_id" ON "mailboxer_conversation_opt_outs" ("conversation_id")[0m
|
122
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_mailboxer_notifications_on_type" ON "mailboxer_notifications" ("type")
|
123
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_mailboxer_notifications_on_sender_id_and_sender_type" ON "mailboxer_notifications" ("sender_id", "sender_type")[0m
|
124
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_mailboxer_notifications_on_notified_object_id_and_type" ON "mailboxer_notifications" ("notified_object_id", "notified_object_type")
|
125
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_mailboxer_receipts_on_receiver_id_and_receiver_type" ON "mailboxer_receipts" ("receiver_id", "receiver_type")[0m
|
126
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20151123152910')
|
127
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
128
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
129
|
+
Connecting to database specified by database.yml
|
130
|
+
Connecting to database specified by database.yml
|
131
|
+
Connecting to database specified by database.yml
|
132
|
+
Connecting to database specified by database.yml
|
133
|
+
Connecting to database specified by database.yml
|
134
|
+
Connecting to database specified by database.yml
|
135
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
136
|
+
Migrating to CreateUsers (20151123025448)
|
137
|
+
Migrating to CreateMailboxer (20151123152908)
|
138
|
+
Migrating to AddConversationOptout (20151123152909)
|
139
|
+
Migrating to AddMissingIndices (20151123152910)
|
140
|
+
Migrating to CreateMessageAttachments (20151123194517)
|
141
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
142
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
143
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "message_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
144
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20151123194517')[0m
|
145
|
+
[1m[35m (9.1ms)[0m commit transaction
|
146
|
+
Migrating to AddMailboxerNotificationRefToMailboxerMessageAttachments (20151123195505)
|
147
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
148
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "mailboxer_message_attachments" ADD "mailboxer_notification_id" integer
|
149
|
+
SQLite3::SQLException: no such table: mailboxer_message_attachments: ALTER TABLE "mailboxer_message_attachments" ADD "mailboxer_notification_id" integer
|
150
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
151
|
+
Connecting to database specified by database.yml
|
152
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
153
|
+
Migrating to CreateUsers (20151123025448)
|
154
|
+
Migrating to CreateMailboxer (20151123152908)
|
155
|
+
Migrating to AddConversationOptout (20151123152909)
|
156
|
+
Migrating to AddMissingIndices (20151123152910)
|
157
|
+
Migrating to CreateMessageAttachments (20151123194517)
|
158
|
+
Migrating to AddMailboxerNotificationRefToMailboxerMessageAttachments (20151123195505)
|
159
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
160
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
161
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "mailboxer_message_attachments" ADD "mailboxer_notification_id" integer
|
162
|
+
SQLite3::SQLException: no such table: mailboxer_message_attachments: ALTER TABLE "mailboxer_message_attachments" ADD "mailboxer_notification_id" integer
|
163
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
164
|
+
Connecting to database specified by database.yml
|
165
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
166
|
+
[1m[35m (9.4ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
167
|
+
[1m[36m (1.2ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
168
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
169
|
+
Migrating to CreateUsers (20151123025448)
|
170
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
171
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
172
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20151123025448')[0m
|
173
|
+
[1m[35m (0.9ms)[0m commit transaction
|
174
|
+
Migrating to CreateMailboxer (20151123152908)
|
175
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
176
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "mailboxer_conversations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject" varchar(255) DEFAULT '', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
177
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "mailboxer_receipts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar(255), "notification_id" integer NOT NULL, "is_read" boolean DEFAULT 'f', "trashed" boolean DEFAULT 'f', "deleted" boolean DEFAULT 'f', "mailbox_type" varchar(25), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
178
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "mailboxer_notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "body" text, "subject" varchar(255) DEFAULT '', "sender_id" integer, "sender_type" varchar(255), "conversation_id" integer, "draft" boolean DEFAULT 'f', "notification_code" varchar(255), "notified_object_id" integer, "notified_object_type" varchar(255), "attachment" varchar(255), "updated_at" datetime NOT NULL, "created_at" datetime NOT NULL, "global" boolean DEFAULT 'f', "expires" datetime)
|
179
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_mailboxer_receipts_on_notification_id" ON "mailboxer_receipts" ("notification_id")[0m
|
180
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_mailboxer_notifications_on_conversation_id" ON "mailboxer_notifications" ("conversation_id")
|
181
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20151123152908')[0m
|
182
|
+
[1m[35m (0.7ms)[0m commit transaction
|
183
|
+
Migrating to AddConversationOptout (20151123152909)
|
184
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
185
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "mailboxer_conversation_opt_outs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "unsubscriber_id" integer, "unsubscriber_type" varchar(255), "conversation_id" integer)
|
186
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20151123152909')[0m
|
187
|
+
[1m[35m (0.6ms)[0m commit transaction
|
188
|
+
Migrating to AddMissingIndices (20151123152910)
|
189
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
190
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "index_mailboxer_conversation_opt_outs_on_unsubscriber_id_type" ON "mailboxer_conversation_opt_outs" ("unsubscriber_id", "unsubscriber_type")
|
191
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_mailboxer_conversation_opt_outs_on_conversation_id" ON "mailboxer_conversation_opt_outs" ("conversation_id")[0m
|
192
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_mailboxer_notifications_on_type" ON "mailboxer_notifications" ("type")
|
193
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_mailboxer_notifications_on_sender_id_and_sender_type" ON "mailboxer_notifications" ("sender_id", "sender_type")[0m
|
194
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "index_mailboxer_notifications_on_notified_object_id_and_type" ON "mailboxer_notifications" ("notified_object_id", "notified_object_type")
|
195
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_mailboxer_receipts_on_receiver_id_and_receiver_type" ON "mailboxer_receipts" ("receiver_id", "receiver_type")[0m
|
196
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20151123152910')
|
197
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
198
|
+
Migrating to CreateMessageAttachments (20151123194517)
|
199
|
+
[1m[35m (0.0ms)[0m begin transaction
|
200
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "mailboxer_message_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
201
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20151123194517')
|
202
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
203
|
+
Migrating to AddMailboxerNotificationRefToMailboxerMessageAttachments (20151123195505)
|
204
|
+
[1m[35m (0.0ms)[0m begin transaction
|
205
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "mailboxer_message_attachments" ADD "mailboxer_notification_id" integer[0m
|
206
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20151123195505')
|
207
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
208
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
209
|
+
Connecting to database specified by database.yml
|
210
|
+
Connecting to database specified by database.yml
|
211
|
+
Connecting to database specified by database.yml
|
212
|
+
[1m[36m (0.4ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
213
|
+
Migrating to CreateUsers (20151123025448)
|
214
|
+
Migrating to CreateMailboxer (20151123152908)
|
215
|
+
Migrating to AddConversationOptout (20151123152909)
|
216
|
+
Migrating to AddMissingIndices (20151123152910)
|
217
|
+
Migrating to CreateMessageAttachments (20151123194517)
|
218
|
+
Migrating to AddMailboxerNotificationRefToMailboxerMessageAttachments (20151123195505)
|
219
|
+
Migrating to AddObjectIdToMailboxerMessageAttachment (20151123202931)
|
220
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
221
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
222
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "mailboxer_message_attachments" ADD "object_id" integer
|
223
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20151123202931')[0m
|
224
|
+
[1m[35m (0.7ms)[0m commit transaction
|
225
|
+
Migrating to AddFileToMailboxerMessageAttachment (20151123203128)
|
226
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
227
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "mailboxer_message_attachments" ADD "file" varchar(255)
|
228
|
+
SQLite3::SQLException: duplicate column name: file: ALTER TABLE "mailboxer_message_attachments" ADD "file" varchar(255)
|
229
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
230
|
+
Connecting to database specified by database.yml
|
231
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
232
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
233
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
234
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
235
|
+
Migrating to CreateUsers (20151123025448)
|
236
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
237
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
238
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20151123025448')[0m
|
239
|
+
[1m[35m (0.7ms)[0m commit transaction
|
240
|
+
Migrating to CreateMailboxer (20151123152908)
|
241
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
242
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "mailboxer_conversations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject" varchar(255) DEFAULT '', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
243
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "mailboxer_receipts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar(255), "notification_id" integer NOT NULL, "is_read" boolean DEFAULT 'f', "trashed" boolean DEFAULT 'f', "deleted" boolean DEFAULT 'f', "mailbox_type" varchar(25), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
244
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "mailboxer_notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "body" text, "subject" varchar(255) DEFAULT '', "sender_id" integer, "sender_type" varchar(255), "conversation_id" integer, "draft" boolean DEFAULT 'f', "notification_code" varchar(255), "notified_object_id" integer, "notified_object_type" varchar(255), "attachment" varchar(255), "updated_at" datetime NOT NULL, "created_at" datetime NOT NULL, "global" boolean DEFAULT 'f', "expires" datetime)
|
245
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_mailboxer_receipts_on_notification_id" ON "mailboxer_receipts" ("notification_id")[0m
|
246
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_mailboxer_notifications_on_conversation_id" ON "mailboxer_notifications" ("conversation_id")
|
247
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20151123152908')[0m
|
248
|
+
[1m[35m (0.7ms)[0m commit transaction
|
249
|
+
Migrating to AddConversationOptout (20151123152909)
|
250
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
251
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "mailboxer_conversation_opt_outs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "unsubscriber_id" integer, "unsubscriber_type" varchar(255), "conversation_id" integer)
|
252
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20151123152909')[0m
|
253
|
+
[1m[35m (0.5ms)[0m commit transaction
|
254
|
+
Migrating to AddMissingIndices (20151123152910)
|
255
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
256
|
+
[1m[35m (0.4ms)[0m CREATE INDEX "index_mailboxer_conversation_opt_outs_on_unsubscriber_id_type" ON "mailboxer_conversation_opt_outs" ("unsubscriber_id", "unsubscriber_type")
|
257
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_mailboxer_conversation_opt_outs_on_conversation_id" ON "mailboxer_conversation_opt_outs" ("conversation_id")[0m
|
258
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_mailboxer_notifications_on_type" ON "mailboxer_notifications" ("type")
|
259
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_mailboxer_notifications_on_sender_id_and_sender_type" ON "mailboxer_notifications" ("sender_id", "sender_type")[0m
|
260
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_mailboxer_notifications_on_notified_object_id_and_type" ON "mailboxer_notifications" ("notified_object_id", "notified_object_type")
|
261
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_mailboxer_receipts_on_receiver_id_and_receiver_type" ON "mailboxer_receipts" ("receiver_id", "receiver_type")[0m
|
262
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20151123152910')
|
263
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
264
|
+
Migrating to CreateMessageAttachments (20151123194517)
|
265
|
+
[1m[35m (0.0ms)[0m begin transaction
|
266
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "mailboxer_message_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file" varchar(255), "object_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
267
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20151123194517')
|
268
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
269
|
+
Migrating to AddMailboxerNotificationRefToMailboxerMessageAttachments (20151123195505)
|
270
|
+
[1m[35m (0.0ms)[0m begin transaction
|
271
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "mailboxer_message_attachments" ADD "mailboxer_notification_id" integer[0m
|
272
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20151123195505')
|
273
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
274
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
275
|
+
Connecting to database specified by database.yml
|
276
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
277
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
278
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
279
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
280
|
+
Migrating to CreateUsers (20151123025448)
|
281
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
282
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
283
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20151123025448')[0m
|
284
|
+
[1m[35m (0.7ms)[0m commit transaction
|
285
|
+
Migrating to CreateMailboxer (20151123152908)
|
286
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
287
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "mailboxer_conversations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject" varchar(255) DEFAULT '', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
288
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "mailboxer_receipts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar(255), "notification_id" integer NOT NULL, "is_read" boolean DEFAULT 'f', "trashed" boolean DEFAULT 'f', "deleted" boolean DEFAULT 'f', "mailbox_type" varchar(25), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
289
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "mailboxer_notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "body" text, "subject" varchar(255) DEFAULT '', "sender_id" integer, "sender_type" varchar(255), "conversation_id" integer, "draft" boolean DEFAULT 'f', "notification_code" varchar(255), "notified_object_id" integer, "notified_object_type" varchar(255), "attachment" varchar(255), "updated_at" datetime NOT NULL, "created_at" datetime NOT NULL, "global" boolean DEFAULT 'f', "expires" datetime)
|
290
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_mailboxer_receipts_on_notification_id" ON "mailboxer_receipts" ("notification_id")[0m
|
291
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_mailboxer_notifications_on_conversation_id" ON "mailboxer_notifications" ("conversation_id")
|
292
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20151123152908')[0m
|
293
|
+
[1m[35m (0.6ms)[0m commit transaction
|
294
|
+
Migrating to AddConversationOptout (20151123152909)
|
295
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
296
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "mailboxer_conversation_opt_outs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "unsubscriber_id" integer, "unsubscriber_type" varchar(255), "conversation_id" integer)
|
297
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20151123152909')[0m
|
298
|
+
[1m[35m (0.6ms)[0m commit transaction
|
299
|
+
Migrating to AddMissingIndices (20151123152910)
|
300
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
301
|
+
[1m[35m (0.3ms)[0m CREATE INDEX "index_mailboxer_conversation_opt_outs_on_unsubscriber_id_type" ON "mailboxer_conversation_opt_outs" ("unsubscriber_id", "unsubscriber_type")
|
302
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_mailboxer_conversation_opt_outs_on_conversation_id" ON "mailboxer_conversation_opt_outs" ("conversation_id")[0m
|
303
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_mailboxer_notifications_on_type" ON "mailboxer_notifications" ("type")
|
304
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_mailboxer_notifications_on_sender_id_and_sender_type" ON "mailboxer_notifications" ("sender_id", "sender_type")[0m
|
305
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_mailboxer_notifications_on_notified_object_id_and_type" ON "mailboxer_notifications" ("notified_object_id", "notified_object_type")
|
306
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_mailboxer_receipts_on_receiver_id_and_receiver_type" ON "mailboxer_receipts" ("receiver_id", "receiver_type")[0m
|
307
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20151123152910')
|
308
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
309
|
+
Migrating to CreateMessageAttachments (20151123194517)
|
310
|
+
[1m[35m (0.0ms)[0m begin transaction
|
311
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "mailboxer_message_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file" varchar(255), "message_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
312
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20151123194517')
|
313
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
314
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
315
|
+
Connecting to database specified by database.yml
|
316
|
+
Connecting to database specified by database.yml
|
317
|
+
Connecting to database specified by database.yml
|
318
|
+
Connecting to database specified by database.yml
|
319
|
+
Connecting to database specified by database.yml
|
320
|
+
Connecting to database specified by database.yml
|
321
|
+
Connecting to database specified by database.yml
|
322
|
+
[1m[36m (0.4ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
323
|
+
Migrating to CreateUsers (20151123025448)
|
324
|
+
Migrating to CreateMailboxer (20151123152908)
|
325
|
+
Migrating to AddConversationOptout (20151123152909)
|
326
|
+
Migrating to AddMissingIndices (20151123152910)
|
327
|
+
Migrating to CreateMessageAttachments (20151123235316)
|
328
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
329
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
330
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "mailboxer_message_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file" varchar(255), "message_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
331
|
+
SQLite3::SQLException: table "mailboxer_message_attachments" already exists: CREATE TABLE "mailboxer_message_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file" varchar(255), "message_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
332
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
333
|
+
Connecting to database specified by database.yml
|
334
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
335
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
336
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
337
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
338
|
+
Migrating to CreateUsers (20151123025448)
|
339
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
340
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
341
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20151123025448')[0m
|
342
|
+
[1m[35m (0.7ms)[0m commit transaction
|
343
|
+
Migrating to CreateMailboxer (20151123152908)
|
344
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
345
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "mailboxer_conversations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject" varchar(255) DEFAULT '', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
346
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "mailboxer_receipts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar(255), "notification_id" integer NOT NULL, "is_read" boolean DEFAULT 'f', "trashed" boolean DEFAULT 'f', "deleted" boolean DEFAULT 'f', "mailbox_type" varchar(25), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
347
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "mailboxer_notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "body" text, "subject" varchar(255) DEFAULT '', "sender_id" integer, "sender_type" varchar(255), "conversation_id" integer, "draft" boolean DEFAULT 'f', "notification_code" varchar(255), "notified_object_id" integer, "notified_object_type" varchar(255), "attachment" varchar(255), "updated_at" datetime NOT NULL, "created_at" datetime NOT NULL, "global" boolean DEFAULT 'f', "expires" datetime)
|
348
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_mailboxer_receipts_on_notification_id" ON "mailboxer_receipts" ("notification_id")[0m
|
349
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_mailboxer_notifications_on_conversation_id" ON "mailboxer_notifications" ("conversation_id")
|
350
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20151123152908')[0m
|
351
|
+
[1m[35m (0.6ms)[0m commit transaction
|
352
|
+
Migrating to AddConversationOptout (20151123152909)
|
353
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
354
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "mailboxer_conversation_opt_outs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "unsubscriber_id" integer, "unsubscriber_type" varchar(255), "conversation_id" integer)
|
355
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20151123152909')[0m
|
356
|
+
[1m[35m (0.6ms)[0m commit transaction
|
357
|
+
Migrating to AddMissingIndices (20151123152910)
|
358
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
359
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "index_mailboxer_conversation_opt_outs_on_unsubscriber_id_type" ON "mailboxer_conversation_opt_outs" ("unsubscriber_id", "unsubscriber_type")
|
360
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_mailboxer_conversation_opt_outs_on_conversation_id" ON "mailboxer_conversation_opt_outs" ("conversation_id")[0m
|
361
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_mailboxer_notifications_on_type" ON "mailboxer_notifications" ("type")
|
362
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_mailboxer_notifications_on_sender_id_and_sender_type" ON "mailboxer_notifications" ("sender_id", "sender_type")[0m
|
363
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_mailboxer_notifications_on_notified_object_id_and_type" ON "mailboxer_notifications" ("notified_object_id", "notified_object_type")
|
364
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_mailboxer_receipts_on_receiver_id_and_receiver_type" ON "mailboxer_receipts" ("receiver_id", "receiver_type")[0m
|
365
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20151123152910')
|
366
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
367
|
+
Migrating to CreateMessageAttachments (20151123235316)
|
368
|
+
[1m[35m (0.0ms)[0m begin transaction
|
369
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "mailboxer_message_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file" varchar(255), "message_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
370
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20151123235316')
|
371
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
372
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|