Sha256: 2235cf8051122d1dd4c592d94fdcee40b9da27dff5ffe00beb4f2f971f609d37

Contents?: true

Size: 545 Bytes

Versions: 8

Compression:

Stored size: 545 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.integer :account_id

			t.timestamps null: false

		end
	end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
phcmemberspro-5.2.7 db/migrate/20160514030803_create_phcmemberspro_members_businesses.rb
phcmemberspro-5.2.6 db/migrate/20160514030803_create_phcmemberspro_members_businesses.rb
phcmemberspro-5.2.5 db/migrate/20160514030803_create_phcmemberspro_members_businesses.rb
phcmemberspro-5.2.4 db/migrate/20160514030803_create_phcmemberspro_members_businesses.rb
phcmemberspro-5.2.3 db/migrate/20160514030803_create_phcmemberspro_members_businesses.rb
phcmemberspro-5.2.2 db/migrate/20160514030803_create_phcmemberspro_members_businesses.rb
phcmemberspro-5.2.1 db/migrate/20160514030803_create_phcmemberspro_members_businesses.rb
phcmemberspro-5.2.0 db/migrate/20160514030803_create_phcmemberspro_members_businesses.rb