Scaffold todo model

This commit is contained in:
2024-07-28 18:56:44 +02:00
parent ed4a5759be
commit ef58474752
18 changed files with 286 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
class CreateTodos < ActiveRecord::Migration[7.1]
def change
create_table :todos do |t|
t.string :title
t.integer :status
t.timestamps
end
end
end