Sha256: 47db10dba1c45f3eeb0394b19881b6f34f920963b040d6df0370a2a70653ac43

Contents?: true

Size: 411 Bytes

Versions: 15

Compression:

Stored size: 411 Bytes

Contents

class CreateWobauthAuthorities < ActiveRecord::Migration[5.1]
  def change
    create_table :wobauth_authorities do |t|
      t.references :authorizable, index: true
      t.string :authorizable_type
      t.references :role, index: true
      t.references :authorized_for, index: true
      t.string :authorized_for_type
      t.date :valid_from
      t.date :valid_until

      t.timestamps
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
wobauth-6.0.1 db/migrate/20140504143328_create_wobauth_authorities.rb
wobauth-6.0.0 db/migrate/20140504143328_create_wobauth_authorities.rb
wobauth-5.1.3 db/migrate/20140504143328_create_wobauth_authorities.rb
wobauth-5.1.2 db/migrate/20140504143328_create_wobauth_authorities.rb
wobauth-5.1.1 db/migrate/20140504143328_create_wobauth_authorities.rb
wobauth-5.1.0 db/migrate/20140504143328_create_wobauth_authorities.rb
wobauth-5.0.2 db/migrate/20140504143328_create_wobauth_authorities.rb
wobauth-5.0.1 db/migrate/20140504143328_create_wobauth_authorities.rb
wobauth-5.0.0 db/migrate/20140504143328_create_wobauth_authorities.rb
wobauth-4.0.0 db/migrate/20140504143328_create_wobauth_authorities.rb
wobauth-3.4.8 db/migrate/20140504143328_create_wobauth_authorities.rb
wobauth-3.4.7 db/migrate/20140504143328_create_wobauth_authorities.rb
wobauth-3.4.6 db/migrate/20140504143328_create_wobauth_authorities.rb
wobauth-3.4.5 db/migrate/20140504143328_create_wobauth_authorities.rb
wobauth-3.4.4 db/migrate/20140504143328_create_wobauth_authorities.rb