Sha256: 2ef244afefcb0d40e954030a8e1f5b4c2148adad9ab7be4ee037125937c0734b

Contents?: true

Size: 609 Bytes

Versions: 3

Compression:

Stored size: 609 Bytes

Contents

class CreatePhcmembersMemberListings < ActiveRecord::Migration[5.1]
  def change

    create_table :phcmembers_member_listings do |t|

      t.string :mbcompanyname
      t.string :mbcontactname
      t.string :mbaddressl1
      t.string :mbaddressl2
      t.string :mbcity
      t.string :mbprovince
      t.string :mbcountry
      t.string :mbpostalcode
      t.string :mbphone
      t.string :mbcontactemail
      t.string :mbwebsite

      t.references :profile

      t.string :slug

      t.string :user_id
      t.string :user_name

      t.timestamps

    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
phcmembers-12.1.1 db/migrate/20160727024006_create_phcmembers_member_listings.rb
phcmembers-12.1.0 db/migrate/20160727024006_create_phcmembers_member_listings.rb
phcmembers-12.0.1 db/migrate/20160727024006_create_phcmembers_member_listings.rb