2
0
mirror of https://github.com/moebooru/moebooru synced 2025-08-22 01:47:48 +00:00
moebooru/db/migrate/20100827031936_add_show_advanced_editing.rb
2024-01-08 19:39:01 +09:00

10 lines
241 B
Ruby

class AddShowAdvancedEditing < ActiveRecord::Migration[5.1]
def self.up
add_column :users, :show_advanced_editing, :boolean, default: false, null: false
end
def self.down
remove_column :users, :show_advanced_editing
end
end