Class: Message
- Inherits:
-
ApplicationRecord
- Object
- ApplicationRecord
- Message
- Defined in:
- app/models/message.rb
Overview
Schema Information
Table name: messages
id :bigint not null, primary key
pushed :boolean default(FALSE)
text :text(65535)
title :string(255)
viewed :boolean default(FALSE)
created_at :datetime not null
updated_at :datetime not null
message_blast_id :bigint
user_id :bigint not null
Indexes
()
(user_id)
Foreign Keys
fk_rails_... (message_blast_id => message_blasts.id)
fk_rails_... (user_id => users.id)