mirror of
https://github.com/moebooru/moebooru
synced 2025-08-22 01:47:48 +00:00
10 lines
226 B
Ruby
10 lines
226 B
Ruby
class AddPoolsDefaultToUser < ActiveRecord::Migration[5.1]
|
|
def self.up
|
|
add_column :users, :pool_browse_mode, :integer, null: false, default: 1
|
|
end
|
|
|
|
def self.down
|
|
remove_column :users, :pool_browse_mode
|
|
end
|
|
end
|