cirandas.net

ref: master

db/migrate/20161213181144_create_kinds.rb


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
class CreateKinds < ActiveRecord::Migration
  def change
    create_table :kinds do |t|
      t.string :name
      t.string :type
      t.boolean :moderated, :default => false
      t.references :environment
    end
  end
end