Sha256: 1b517e7e4631b0593d2a73467708731e6f46f7d6c92b010587db0df64fd3e1bb

Contents?: true

Size: 564 Bytes

Versions: 2

Compression:

Stored size: 564 Bytes

Contents

class CreatePhcmembersMembersBusinesses < ActiveRecord::Migration[5.0]
	def change
		create_table :phcmembers_members_businesses 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 :main, index: true

			t.string :user_id
			t.string :membership_id
			t.string :oganization_id

			t.timestamps null: false

		end
	end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
phcmembers-3.0.1 db/migrate/20160706184011_create_phcmembers_members_businesses.rb
phcmembers-3.0.0 db/migrate/20160706184011_create_phcmembers_members_businesses.rb