class CreateStatuses < ActiveRecord::Migration[7.0] def change create_table :statuses do |t| t.string :text t.integer :lifetime t.belongs_to :user t.timestamps end end end