Sha256: 1087c1dc9683fb53c1b3b1bb0585831f246f71bc1572165b9e380262363ad05b

Contents?: true

Size: 238 Bytes

Versions: 3

Compression:

Stored size: 238 Bytes

Contents

class CreateNotifications < ActiveRecord::Migration
  def change
    create_table :notifications do |t|
      t.string :notification_type
      t.timestamps
    end
    add_reference :notifications, :notified_by, :index => true
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pshq_engine-0.1.6 db/migrate/20150507150848_create_notifications.rb
pshq_engine-0.1.5 db/migrate/20150507150848_create_notifications.rb
pshq_engine-0.0.1 db/migrate/20150507150848_create_notifications.rb