11 lines
189 B
Ruby
11 lines
189 B
Ruby
class CreateTodos < ActiveRecord::Migration[7.1]
|
|
def change
|
|
create_table :todos do |t|
|
|
t.string :title
|
|
t.integer :status, default: 0
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|