Wednesday, July 15, 2026 2:56:05 AM
> 20230513235724_create_api_tokens_table.rb
# frozen_string_literal: true

class CreateApiTokensTable < ActiveRecord::Migration[6.1]
  def change
    create_table :api_tokens do |t|
      t.string :token, null: false, index: true
      t.boolean :active, default: true
      t.string :comment
      t.timestamps
    end
  end
end
All opinions represented herein are my own
- © 2024 - 2026 itsthedevman
- build 43aa0d7