diff options
Diffstat (limited to 'db/migrate/20200816200108_add_root_to_conversations.rb')
-rw-r--r-- | db/migrate/20200816200108_add_root_to_conversations.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/db/migrate/20200816200108_add_root_to_conversations.rb b/db/migrate/20200816200108_add_root_to_conversations.rb new file mode 100644 index 000000000..f45a3b476 --- /dev/null +++ b/db/migrate/20200816200108_add_root_to_conversations.rb @@ -0,0 +1,7 @@ +class AddRootToConversations < ActiveRecord::Migration[5.2] + def change + safety_assured do + add_column :conversations, :root, :string, index: true + end + end +end |