mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 03:07:52 +01:00
8 lines
173 B
Ruby
8 lines
173 B
Ruby
class AddSlugToBoards < ActiveRecord::Migration[6.1]
|
|
def change
|
|
add_column :boards, :slug, :string
|
|
|
|
add_index :boards, [:slug, :tenant_id], unique: true
|
|
end
|
|
end
|