Sha256: 776bf1b3a6550fe1b5f09d472f064017864e1b9c1d0d1fcf7e7130c65815bd2c

Contents?: true

Size: 409 Bytes

Versions: 12

Compression:

Stored size: 409 Bytes

Contents

class CreateServiceUsers < ActiveRecord::Migration
  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

12 entries across 12 versions & 1 rubygems

Version Path
foreman_virt_who_configure-0.1.9 db/migrate/20170102152649_create_service_users.rb
foreman_virt_who_configure-0.1.8 db/migrate/20170102152649_create_service_users.rb
foreman_virt_who_configure-0.1.7 db/migrate/20170102152649_create_service_users.rb
foreman_virt_who_configure-0.1.6 db/migrate/20170102152649_create_service_users.rb
foreman_virt_who_configure-0.1.5 db/migrate/20170102152649_create_service_users.rb
foreman_virt_who_configure-0.1.4 db/migrate/20170102152649_create_service_users.rb
foreman_virt_who_configure-0.1.3 db/migrate/20170102152649_create_service_users.rb
foreman_virt_who_configure-0.1.2 db/migrate/20170102152649_create_service_users.rb
foreman_virt_who_configure-0.1.1 db/migrate/20170102152649_create_service_users.rb
foreman_virt_who_configure-0.1.0 db/migrate/20170102152649_create_service_users.rb
foreman_virt_who_configure-0.0.2 db/migrate/20170102152649_create_service_users.rb
foreman_virt_who_configure-0.0.1 db/migrate/20170102152649_create_service_users.rb