parent
51a7047367
commit
0430f7c0fa
@ -1,5 +1,5 @@ |
|||||||
class AddSpoilerTextToStatuses < ActiveRecord::Migration[5.0] |
class AddSpoilerTextToStatuses < ActiveRecord::Migration[5.0] |
||||||
def change |
def change |
||||||
add_column :statuses, :spoiler_text, :text, default: "" |
add_column :statuses, :spoiler_text, :text, default: "", null: false |
||||||
end |
end |
||||||
end |
end |
||||||
|
Loading…
Reference in new issue