Archived
2
0
Fork 0
This repository has been archived on 2024-06-09. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
mastodon/db/migrate/20170114014334_add_spoiler_text_to_statuses.rb
2017-01-23 21:07:40 -05:00

5 lines
145 B
Ruby

class AddSpoilerTextToStatuses < ActiveRecord::Migration[5.0]
def change
add_column :statuses, :spoiler_text, :text, default: ""
end
end