Sha256: d405fd82890e95ace016932c12445478b2da3c1274d63e353db96c657c80bd19

Contents?: true

Size: 541 Bytes

Versions: 12

Compression:

Stored size: 541 Bytes

Contents

class CreatePhcmembersproMembersBusinesses < ActiveRecord::Migration
	def change
		create_table :phcmemberspro_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.timestamps null: false
			
			t.references :main, index: true
			t.string :user_id

			t.timestamps null: false

		end
	end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
phcmemberspro-5.4.2 db/migrate/20160514030803_create_phcmemberspro_members_businesses.rb
phcmemberspro-5.4.1 db/migrate/20160514030803_create_phcmemberspro_members_businesses.rb
phcmemberspro-5.4.0 db/migrate/20160514030803_create_phcmemberspro_members_businesses.rb
phcmemberspro-5.3.10 db/migrate/20160514030803_create_phcmemberspro_members_businesses.rb
phcmemberspro-5.3.9 db/migrate/20160514030803_create_phcmemberspro_members_businesses.rb
phcmemberspro-5.3.8 db/migrate/20160514030803_create_phcmemberspro_members_businesses.rb
phcmemberspro-5.3.7 db/migrate/20160514030803_create_phcmemberspro_members_businesses.rb
phcmemberspro-5.3.6 db/migrate/20160514030803_create_phcmemberspro_members_businesses.rb
phcmemberspro-5.3.5 db/migrate/20160514030803_create_phcmemberspro_members_businesses.rb
phcmemberspro-5.3.4 db/migrate/20160514030803_create_phcmemberspro_members_businesses.rb
phcmemberspro-5.3.2 db/migrate/20160514030803_create_phcmemberspro_members_businesses.rb
phcmemberspro-5.3.1 db/migrate/20160514030803_create_phcmemberspro_members_businesses.rb