mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 03:54:08 +00:00
8 lines
229 B
Ruby
8 lines
229 B
Ruby
class AddAccountableToAccount < ActiveRecord::Migration[7.2]
|
|
def change
|
|
add_column :accounts, :accountable_type, :string
|
|
add_column :accounts, :accountable_id, :uuid
|
|
add_index :accounts, :accountable_type
|
|
end
|
|
end
|