mastodon/db/migrate/20190306145741_add_lock_ver...

7 lines
155 B
Ruby

class AddLockVersionToPolls < ActiveRecord::Migration[5.2]
def change
add_column :polls, :lock_version, :integer, null: false, default: 0
end
end