Class: CreateTodos
- Inherits:
-
Object
- Object
- CreateTodos
- Defined in:
- lib/server_skeleton/db/migrate/20170312215739_create_todos.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
2 3 4 5 6 7 |
# File 'lib/server_skeleton/db/migrate/20170312215739_create_todos.rb', line 2 def change create_table :todos do |t| t.string :text t. end end |