Sha256: 45eda4b26e1419860f07fbb87128a380da213edb253ece0aca4509beb99262a6
Contents?: true
Size: 433 Bytes
Versions: 241
Compression:
Stored size: 433 Bytes
Contents
class CreateMessageRequests < ActiveRecord::Migration def self.up create_table :message_requests do |t| t.integer :sender_id t.integer :receiver_id t.integer :message_template_id t.datetime :sent_at t.datetime :deleted_at t.text :body t.string :state t.timestamps end add_index :message_requests, :state end def self.down drop_table :message_requests end end
Version data entries
241 entries across 241 versions & 8 rubygems