Sha256: b6e994102bd515769f68eacf70380f9bfc3321e9d11fbdbc9f6283e4281abb37

Contents?: true

Size: 195 Bytes

Versions: 6

Compression:

Stored size: 195 Bytes

Contents

# frozen_string_literal: true

class AddJobToUsers < (
    Rails.version < '5' ? ActiveRecord::Migration : ActiveRecord::Migration[4.2]
  )
  def change
    add_belongs_to :users, :job
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
eac_rails_utils-0.13.0 test/dummy/db/migrate/20160415143229_add_job_to_users.rb
eac_rails_utils-0.12.3 test/dummy/db/migrate/20160415143229_add_job_to_users.rb
eac_rails_utils-0.12.2 test/dummy/db/migrate/20160415143229_add_job_to_users.rb
eac_rails_utils-0.12.1 test/dummy/db/migrate/20160415143229_add_job_to_users.rb
eac_rails_utils-0.12.0 test/dummy/db/migrate/20160415143229_add_job_to_users.rb
eac_rails_utils-0.11.6 test/dummy/db/migrate/20160415143229_add_job_to_users.rb