about summary refs log tree commit diff
path: root/db
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-01-25 15:01:00 +0100
committerEugen Rochko <eugen@zeonfederated.com>2017-01-25 15:01:00 +0100
commit51a7047367960af1d710383266a09608170eb56c (patch)
treef6527133096c878639852dd76aca415ac76d0f15 /db
parentca04002c933539a2ccefe227f6a6eecbb4c074c6 (diff)
Fix order of migrations
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20170125145934_add_spoiler_text_to_statuses.rb (renamed from db/migrate/20170114014334_add_spoiler_text_to_statuses.rb)0
-rw-r--r--db/schema.rb4
2 files changed, 2 insertions, 2 deletions
diff --git a/db/migrate/20170114014334_add_spoiler_text_to_statuses.rb b/db/migrate/20170125145934_add_spoiler_text_to_statuses.rb
index e4065d7db..e4065d7db 100644
--- a/db/migrate/20170114014334_add_spoiler_text_to_statuses.rb
+++ b/db/migrate/20170125145934_add_spoiler_text_to_statuses.rb
diff --git a/db/schema.rb b/db/schema.rb
index 0edd68605..ee4dd4316 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -10,7 +10,7 @@
 #
 # It's strongly recommended that you check this file into your version control system.
 
-ActiveRecord::Schema.define(version: 20170123203248) do
+ActiveRecord::Schema.define(version: 20170125145934) do
 
   # These are extensions that must be enabled in order to support this database
   enable_extension "plpgsql"
@@ -195,8 +195,8 @@ ActiveRecord::Schema.define(version: 20170123203248) do
     t.boolean  "sensitive",              default: false
     t.integer  "visibility",             default: 0,     null: false
     t.integer  "in_reply_to_account_id"
-    t.text     "spoiler_text",           default: ""
     t.integer  "application_id"
+    t.text     "spoiler_text",           default: ""
     t.index ["account_id"], name: "index_statuses_on_account_id", using: :btree
     t.index ["in_reply_to_id"], name: "index_statuses_on_in_reply_to_id", using: :btree
     t.index ["reblog_of_id"], name: "index_statuses_on_reblog_of_id", using: :btree