Sha256: f9b82afd30bfd27737ecf5d007703c3a5edb84c977ac2413dd050d5523cdb775
Contents?: true
Size: 326 Bytes
Versions: 7
Compression:
Stored size: 326 Bytes
Contents
class CreateProclaimComments < ActiveRecord::Migration[5.2] def change create_table :proclaim_comments do |t| t.belongs_to :post, index: true t.integer :parent_id t.string :author t.text :body t.timestamps null: false end add_foreign_key :proclaim_comments, :proclaim_posts, column: :post_id end end
Version data entries
7 entries across 7 versions & 1 rubygems