Sha256: 5ced06ac9133562724bc1bc9dbec5a75e57adc290cea6db9d607c4b1b932bd81

Contents?: true

Size: 426 Bytes

Versions: 11

Compression:

Stored size: 426 Bytes

Contents

class CreateC80PushOffices < ActiveRecord::Migration[5.0]
  def change
    create_table :c80_push_offices do |t|
      t.string :ord, null: false, default: 0
      t.string :title, null: false
      t.string :addr, null: false
      t.string :gps, null: false
      t.string :tel, null: false
      t.string :email
      t.string :site
      t.references :dealer, index: true

      t.timestamps null: false
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
c80_push-0.1.0.11 db/migrate/20170626125252_create_c80_push_offices.rb
c80_push-0.1.0.10 db/migrate/20170626125252_create_c80_push_offices.rb
c80_push-0.1.0.8 db/migrate/20170626125252_create_c80_push_offices.rb
c80_push-0.1.0.7 db/migrate/20170626125252_create_c80_push_offices.rb
c80_push-0.1.0.6 db/migrate/20170626125252_create_c80_push_offices.rb
c80_push-0.1.0.5 db/migrate/20170626125252_create_c80_push_offices.rb
c80_push-0.1.0.4 db/migrate/20170626125252_create_c80_push_offices.rb
c80_push-0.1.0.3 db/migrate/20170626125252_create_c80_push_offices.rb
c80_push-0.1.0.2 db/migrate/20170626125252_create_c80_push_offices.rb
c80_push-0.1.0.1 db/migrate/20170626125252_create_c80_push_offices.rb
c80_push-0.1.0 db/migrate/20170626125252_create_c80_push_offices.rb