debt-manager/db/migrate/20231101172623_create_bubbles.rb

12 lines
287 B
Ruby
Raw Permalink Normal View History

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