diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-01-25 15:24:19 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-01-25 15:24:19 +0100 |
commit | 0430f7c0fa73e03fad83af123b22f56cfe60c7fb (patch) | |
tree | 055e451910843e23ae3ad708255a8422a9186da3 /db/schema.rb | |
parent | 51a7047367960af1d710383266a09608170eb56c (diff) |
Fix spoiler_text not having "not null" constraint
Diffstat (limited to 'db/schema.rb')
-rw-r--r-- | db/schema.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/schema.rb b/db/schema.rb index ee4dd4316..72ce63133 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -196,7 +196,7 @@ ActiveRecord::Schema.define(version: 20170125145934) do t.integer "visibility", default: 0, null: false t.integer "in_reply_to_account_id" t.integer "application_id" - t.text "spoiler_text", default: "" + t.text "spoiler_text", default: "", null: false 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 |