Sha256: 6e157a6af735194d8463da010d9397bd2e24f54970559283bebdd880818447b9

Contents?: true

Size: 421 Bytes

Versions: 38

Compression:

Stored size: 421 Bytes

Contents

class CreateParticipantLicenses < ActiveRecord::Migration
  def change
    create_table :participant_licenses, options: 'DEFAULT CHARSET=utf8' do |t|
      t.references :license_category, index: true, null: false
      t.string :license_number
      t.string :jurisdiction
      t.string :state_or_province
      t.references :participant, index: true, null: false, foreign_key: true

      t.timestamps
    end
  end
end

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
reso-0.1.6.7 lib/generators/reso/templates/create_participant_licenses.rb
reso-0.1.6.6 lib/generators/reso/templates/create_participant_licenses.rb
reso-0.1.6.5 lib/generators/reso/templates/create_participant_licenses.rb
reso-0.1.6.4 lib/generators/reso/templates/create_participant_licenses.rb
reso-0.1.6.3 lib/generators/reso/templates/create_participant_licenses.rb
reso-0.1.6.2 lib/generators/reso/templates/create_participant_licenses.rb
reso-0.1.6.1 lib/generators/reso/templates/create_participant_licenses.rb
reso-0.1.6 lib/generators/reso/templates/create_participant_licenses.rb
reso-0.1.5.11 lib/generators/reso/templates/create_participant_licenses.rb
reso-0.1.5.10 lib/generators/reso/templates/create_participant_licenses.rb
reso-0.1.5.9 lib/generators/reso/templates/create_participant_licenses.rb
reso-0.1.5.7 lib/generators/reso/templates/create_participant_licenses.rb
reso-0.1.5.6 lib/generators/reso/templates/create_participant_licenses.rb
reso-0.1.5.5 lib/generators/reso/templates/create_participant_licenses.rb
reso-0.1.5.4 lib/generators/reso/templates/create_participant_licenses.rb
reso-0.1.5.3 lib/generators/reso/templates/create_participant_licenses.rb
reso-0.1.5.2 lib/generators/reso/templates/create_participant_licenses.rb
reso-0.1.5.1 lib/generators/reso/templates/create_participant_licenses.rb
reso-0.1.5.0 lib/generators/reso/templates/create_participant_licenses.rb
reso-0.1.4.10 lib/generators/reso/templates/create_participant_licenses.rb