Sha256: 4d5452e0609406dca4e2b4670b166fb0e522d63ad925d218380d3e8487aa06dd
Contents?: true
Size: 524 Bytes
Versions: 1
Compression:
Stored size: 524 Bytes
Contents
class CreateAlertsTable < ActiveRecord::Migration def self.up create_table :alerts do |t| t.integer :user_id t.string :identifier t.string :sender t.datetime :sent_at t.string :status t.string :msg_type t.string :source t.string :scope t.text :restriction t.text :addresses t.string :code t.text :note t.text :references t.text :incidents t.timestamps end end def self.down drop_table :alerts end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rcap-rails-generators-1.3 | lib/generators/rcap/migrations/templates/alerts_migration.rb |