Sha256: a655350ac5284179893a3dc02a2a2a0d29a6470b6e23021b9f01660ff9bfca63

Contents?: true

Size: 394 Bytes

Versions: 1

Compression:

Stored size: 394 Bytes

Contents

class CreatePhcpressproNewsPosts < ActiveRecord::Migration[5.0]
	def change
		create_table :phcpresspro_news_posts do |t|

			t.string :newspsttitle
			t.text :newspsttext
			t.string :pststatus
			t.text :newspstexcerpts
			t.string :pstimage

			t.references :category, index: true

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

			t.timestamps

		end
	end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
phcpresspro-3.1.2 db/migrate/20160716182409_create_phcpresspro_news_posts.rb