20220219224343_create_posts.rb (242B)
1 class CreatePosts < ActiveRecord::Migration[7.0] 2 def change 3 create_table :posts do |t| 4 t.text :body 5 t.string :title 6 t.string :description 7 t.string :where 8 t.string :url 9 10 t.timestamps 11 end 12 end 13 end