Files
todoapp/db/migrate/20240728165519_create_todos.rb
2024-07-28 18:56:44 +02:00

11 lines
177 B
Ruby

class CreateTodos < ActiveRecord::Migration[7.1]
def change
create_table :todos do |t|
t.string :title
t.integer :status
t.timestamps
end
end
end