scinote-web/db/migrate/20201126203713_add_unseen_by_to_comments.rb

8 lines
185 B
Ruby

# frozen_string_literal: true
class AddUnseenByToComments < ActiveRecord::Migration[6.0]
def change
add_column :comments, :unseen_by, :bigint, array: true, default: []
end
end