10 lines
180 B
Ruby
10 lines
180 B
Ruby
class CreateTodos < ActiveRecord::Migration[5.1]
|
|
def change
|
|
create_table :todos do |t|
|
|
t.string :title
|
|
t.string :created_by
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|