mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-03-26 02:33:03 -04:00
14 lines
287 B
Ruby
14 lines
287 B
Ruby
# frozen_string_literal: true
|
|
|
|
class CreateForums < ActiveRecord::Migration[4.2]
|
|
def change
|
|
create_table :forums do |t|
|
|
t.string :name, null: false
|
|
t.text :description, null: false
|
|
t.integer :owner_id, null: false
|
|
|
|
t.timestamps null: true
|
|
end
|
|
end
|
|
end
|