debt-manager/app/models/bubble.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

15 lines
443 B
Ruby

# == Schema Information
#
# Table name: bubbles
#
# id :uuid not null, primary key
# color :string default("#0000ff"), not null
# description :text default(""), not null
# name :string not null
# created_at :datetime not null
# updated_at :datetime not null
#
class Bubble < ApplicationRecord
validates :name, presence: true, allow_blank: false
end