al13ntown/db/migrate/20260824063930_create_posts.rb

13 lines
213 B
Ruby
Raw Permalink Normal View History

2026-08-24 20:12:41 +00:00
class CreatePosts < ActiveRecord::Migration[8.1]
def change
create_table :posts do |t|
t.string :title
t.text :body
t.string :mood
t.text :music
t.timestamps
end
end
end