mirror of https://github.com/mastodon/mastodon
Fix spoiler_text not having "not null" constraint
parent
51a7047367
commit
0430f7c0fa
@ -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…
Reference in New Issue