mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-05 14:41:53 +08:00
11 lines
235 B
Ruby
11 lines
235 B
Ruby
class RemoveUniqueOrganizationNameIndex < ActiveRecord::Migration
|
|
def up
|
|
remove_index :teams, :name
|
|
add_index :teams, :name
|
|
end
|
|
|
|
def down
|
|
remove_index :teams, :name
|
|
add_index :teams, :name, unique: true
|
|
end
|
|
end
|