rails8-memoapp/db/migrate/20250219123840_create_memos.rb

9 lines
165 B
Ruby
Raw Normal View History

2025-02-20 22:46:52 +09:00
class CreateMemos < ActiveRecord::Migration[7.1]
def change
create_table :memos do |t|
t.text :content, null: false
t.timestamps
end
end
end