mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-05-30 11:47:57 -04:00
14 lines
250 B
Ruby
14 lines
250 B
Ruby
# frozen_string_literal: true
|
|
|
|
class CreateComments < ActiveRecord::Migration[4.2]
|
|
def change
|
|
create_table :comments do |t|
|
|
t.integer :post_id
|
|
t.integer :author_id
|
|
t.text :body
|
|
|
|
t.timestamps null: true
|
|
end
|
|
end
|
|
end
|