Sha256: 68a518ed788f3278ef8a54465426ab9000335d8ef01a65b07b5323ececd9a907

Contents?: true

Size: 304 Bytes

Versions: 3

Compression:

Stored size: 304 Bytes

Contents

class CreateNotificationUsers < ActiveRecord::Migration
  def change
    create_table :notification_users do |t|
      t.boolean :seen
      t.boolean :responded
    end
    add_reference :notification_users, :notification, index: true
    add_reference :notification_users, :user, index: true
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pshq_engine-0.1.6 db/migrate/20150507150855_create_notification_users.rb
pshq_engine-0.1.5 db/migrate/20150507150855_create_notification_users.rb
pshq_engine-0.0.1 db/migrate/20150507150855_create_notification_users.rb