Sha256: 5d01ecbdc917057a98557767167a228849da1c124ea39de48ccee878cbe82347
Contents?: true
Size: 335 Bytes
Versions: 2
Compression:
Stored size: 335 Bytes
Contents
class CreateAlerts < ActiveRecord::Migration def self.change create_table :alerts do |t| t.string :event_type, :subject_type, :actor_type, :secondary_subject_type t.integer :subject_id, :actor_id, :secondary_subject_id t.text :message, :link t.timestamps end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
alerts-0.0.2 | generators/alerts/templates/migration.rb |
alerts-0.0.1 | generators/alerts/templates/migration.rb |