12 lines
287 B
Ruby
12 lines
287 B
Ruby
|
class CreateBubbles < ActiveRecord::Migration[7.0]
|
||
|
def change
|
||
|
create_table :bubbles, id: :uuid do |t|
|
||
|
t.string :name, null: false
|
||
|
t.text :description, null: false, default: ""
|
||
|
t.string :color, null: false, default: "#0000ff"
|
||
|
|
||
|
t.timestamps
|
||
|
end
|
||
|
end
|
||
|
end
|