Sha256: 1be96eb05f52816fd1777d8bc04c008fccff7ce1b3f2e1e75a0d7bd62682869f

Contents?: true

Size: 287 Bytes

Versions: 29

Compression:

Stored size: 287 Bytes

Contents

class CreateAdminUserNotifications < ActiveRecord::Migration
  def change
    create_table :admin_user_notifications do |t|
      t.boolean :read, default: false
      t.references :notification, index:true
      t.references :admin_user, index:true
      t.timestamps
    end
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
carnival-0.0.59 db/migrate/20140129223355_create_admin_user_notifications.rb
carnival-0.0.58 db/migrate/20140129223355_create_admin_user_notifications.rb
carnival-0.0.57 db/migrate/20140129223355_create_admin_user_notifications.rb
carnival-0.0.56 db/migrate/20140129223355_create_admin_user_notifications.rb
carnival-0.0.55 db/migrate/20140129223355_create_admin_user_notifications.rb
carnival-0.0.54 db/migrate/20140129223355_create_admin_user_notifications.rb
carnival-0.0.53 db/migrate/20140129223355_create_admin_user_notifications.rb
carnival-0.0.52 db/migrate/20140129223355_create_admin_user_notifications.rb
carnival-0.0.51 db/migrate/20140129223355_create_admin_user_notifications.rb
carnival-0.0.50 db/migrate/20140129223355_create_admin_user_notifications.rb
carnival-0.0.49 db/migrate/20140129223355_create_admin_user_notifications.rb
carnival-0.0.48 db/migrate/20140129223355_create_admin_user_notifications.rb
carnival-0.0.47 db/migrate/20140129223355_create_admin_user_notifications.rb
carnival-0.0.45 db/migrate/20140129223355_create_admin_user_notifications.rb
carnival-0.0.44 db/migrate/20140129223355_create_admin_user_notifications.rb
carnival-0.0.43 db/migrate/20140129223355_create_admin_user_notifications.rb
carnival-0.0.42 db/migrate/20140129223355_create_admin_user_notifications.rb
carnival-0.0.41 db/migrate/20140129223355_create_admin_user_notifications.rb
carnival-0.0.40 db/migrate/20140129223355_create_admin_user_notifications.rb
carnival-0.0.39 db/migrate/20140129223355_create_admin_user_notifications.rb