debt-manager/db/migrate/20231101172623_create_bubbles.rb
Louis Vallat a1d2fb9444
feat: added base bubble CRUD
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2023-11-01 20:54:06 +01:00

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