Fix spoiler_text not having "not null" constraint
This commit is contained in:
parent
51a7047367
commit
0430f7c0fa
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
class AddSpoilerTextToStatuses < ActiveRecord::Migration[5.0]
|
||||
def change
|
||||
add_column :statuses, :spoiler_text, :text, default: ""
|
||||
add_column :statuses, :spoiler_text, :text, default: "", null: false
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue