6 lines
175 B
Ruby
6 lines
175 B
Ruby
class AddOwnerToBubbles < ActiveRecord::Migration[7.0]
|
|
def change
|
|
add_reference(:bubbles, :owner, type: :uuid, foreign_key: { to_table: :users }, null: false)
|
|
end
|
|
end
|