Sha256: 58bda67b9b30527efd746cd778c5054b6c229835f4f0dfaeac28472ed7859915

Contents?: true

Size: 414 Bytes

Versions: 38

Compression:

Stored size: 414 Bytes

Contents

class CreateServiceUsers < ActiveRecord::Migration[4.2]
  def change
    create_table :foreman_virt_who_configure_service_users do |t|
      t.string :encrypted_password, :null => false
      t.references :user, :index => { :name => 'fvwc_su_user_id' }, :null => false

      t.timestamps :null => false
    end

    add_foreign_key :foreman_virt_who_configure_service_users, :users, :column => :user_id
  end
end

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
foreman_virt_who_configure-0.5.25 db/migrate/20170102152649_create_service_users.rb
foreman_virt_who_configure-0.5.24 db/migrate/20170102152649_create_service_users.rb
foreman_virt_who_configure-0.5.23 db/migrate/20170102152649_create_service_users.rb
foreman_virt_who_configure-0.5.21 db/migrate/20170102152649_create_service_users.rb
foreman_virt_who_configure-0.5.20 db/migrate/20170102152649_create_service_users.rb
foreman_virt_who_configure-0.5.19 db/migrate/20170102152649_create_service_users.rb
foreman_virt_who_configure-0.5.18 db/migrate/20170102152649_create_service_users.rb
foreman_virt_who_configure-0.5.17 db/migrate/20170102152649_create_service_users.rb
foreman_virt_who_configure-0.5.16 db/migrate/20170102152649_create_service_users.rb
foreman_virt_who_configure-0.5.15 db/migrate/20170102152649_create_service_users.rb
foreman_virt_who_configure-0.5.14 db/migrate/20170102152649_create_service_users.rb
foreman_virt_who_configure-0.5.13 db/migrate/20170102152649_create_service_users.rb
foreman_virt_who_configure-0.5.12 db/migrate/20170102152649_create_service_users.rb
foreman_virt_who_configure-0.5.11 db/migrate/20170102152649_create_service_users.rb
foreman_virt_who_configure-0.5.10 db/migrate/20170102152649_create_service_users.rb
foreman_virt_who_configure-0.5.9 db/migrate/20170102152649_create_service_users.rb
foreman_virt_who_configure-0.5.8 db/migrate/20170102152649_create_service_users.rb
foreman_virt_who_configure-0.5.7 db/migrate/20170102152649_create_service_users.rb
foreman_virt_who_configure-0.5.6 db/migrate/20170102152649_create_service_users.rb
foreman_virt_who_configure-0.5.5 db/migrate/20170102152649_create_service_users.rb