1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-11-28 06:48:38 +09:00
whippy-edition/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