Sha256: be69f9b03191ab76b0135c806052f0b775fcdbeb730904aa1d5f7e79119c0182

Contents?: true

Size: 317 Bytes

Versions: 3

Compression:

Stored size: 317 Bytes

Contents

class CreateAlerts < ActiveRecord::Migration
  def change
    create_table :alerts do |t|
      t.string :alert_type
      t.string :body
      t.string :status, :default => "Pending"
      t.integer :alert_type_id
      t.integer :organization_id
      t.integer :user_id
      
      t.timestamps
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pshq_engine-0.1.6 db/migrate/20141015085628_create_alerts.rb
pshq_engine-0.1.5 db/migrate/20141015085628_create_alerts.rb
pshq_engine-0.0.1 db/migrate/20141015085628_create_alerts.rb