Class: CreateProjects
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- CreateProjects
- Defined in:
- lib/trackington/db/migrate/20160209100247_create_projects.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
2 3 4 5 6 7 8 |
# File 'lib/trackington/db/migrate/20160209100247_create_projects.rb', line 2 def change create_table :projects do |t| t.string :description t.string :title t.boolean :public, default: false end end |