10 lines
172 B
Ruby
10 lines
172 B
Ruby
class CreateNotes < ActiveRecord::Migration[8.0]
|
|
def change
|
|
create_table :notes do |t|
|
|
t.string :title
|
|
t.text :body
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|