mastodon/db/migrate/20250828155921_create_account_secrets.rb

13 lines
311 B
Ruby

# frozen_string_literal: true
class CreateAccountSecrets < ActiveRecord::Migration[8.0]
def change
create_table :account_secrets do |t|
t.references :account, null: false, foreign_key: { on_delete: :cascade }, index: { unique: true }
t.text :private_key
t.timestamps
end
end
end