You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
docuseal/db/migrate/20260226193537_create_mcp_t...

16 lines
408 B

# frozen_string_literal: true
class CreateMcpTokens < ActiveRecord::Migration[8.1]
def change
create_table :mcp_tokens do |t|
t.references :user, null: false, foreign_key: true, index: true
t.string :name, null: false
t.string :sha256, null: false, index: { unique: true }
t.string :token_prefix, null: false
t.datetime :archived_at
t.timestamps
end
end
end