mirror of
https://github.com/moebooru/moebooru
synced 2025-08-22 01:47:48 +00:00
11 lines
219 B
Ruby
11 lines
219 B
Ruby
class AddPixivToArtists < ActiveRecord::Migration[5.1]
|
|
def self.up
|
|
add_column :artists, :pixiv_id, :integer
|
|
add_index :artists, :pixiv_id
|
|
end
|
|
|
|
def self.down
|
|
remove_column :artists, :pixiv_id
|
|
end
|
|
end
|