Sha256: 028ffbf6e672678381a96a0b3e2a764b168d557d54c6016f5e21956e729eeed6
Contents?: true
Size: 502 Bytes
Versions: 176
Compression:
Stored size: 502 Bytes
Contents
class CreateMessagingMessages < ActiveRecord::Migration[5.1] def change create_table :messaging_messages do |t| t.text :body, null: false t.string :subject, null: false, index: true t.boolean :urgent, null: false, default: false t.datetime :sent_at, null: false t.references :patient, index: true, null: false, foreign_key: true t.references :author, index: true, null: false, foreign_key: { to_table: :users } t.timestamps null: false end end end
Version data entries
176 entries across 176 versions & 1 rubygems