Newer
Older
Website-backend / db / migrate / 20220405200937_create_statuses.rb
@lukas lukas on 5 Apr 2022 208 bytes add user statuses
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