Sha256: 8afdc01fbe6555edbc9413daf0ae6545f4d65c64f5dbf39ca7b8b6fe8e94645a

Contents?: true

Size: 692 Bytes

Versions: 4

Compression:

Stored size: 692 Bytes

Contents

class CreatePhcmembersproMemberListings < ActiveRecord::Migration[7.0]
  def change

    create_table :phcmemberspro_member_listings do |t|

      t.string :listing_company_name
      t.string :listing_contact_name
      t.string :listing_address_line_1
      t.string :listing_address_line_2
      t.string :listing_city
      t.string :listing_province
      t.string :listing_country
      t.string :listing_postal_code
      t.string :listing_phone
      t.string :listing_contact_email
      t.string :listing_website

      t.references :profile

      t.string :slug

      t.string :user_id
      t.string :org_id

      t.timestamps

    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
phcmemberspro-92.0.3 db/migrate/20160728231011_create_phcmemberspro_member_listings.rb
phcmemberspro-92.0.2 db/migrate/20160728231011_create_phcmemberspro_member_listings.rb
phcmemberspro-92.0.1 db/migrate/20160728231011_create_phcmemberspro_member_listings.rb
phcmemberspro-92.0.0 db/migrate/20160728231011_create_phcmemberspro_member_listings.rb