15 lines
443 B
Ruby
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
|