Scaffold Todo
This commit is contained in:
10
db/migrate/20251027091014_create_todos.rb
Normal file
10
db/migrate/20251027091014_create_todos.rb
Normal file
@@ -0,0 +1,10 @@
|
||||
class CreateTodos < ActiveRecord::Migration[8.1]
|
||||
def change
|
||||
create_table :todos do |t|
|
||||
t.string :name
|
||||
t.text :description
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user