mastodon/db/migrate/20190306145741_add_lock_version_to_polls.rb

7 lines
155 B
Ruby
Raw Normal View History

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