mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-06-19 04:03:45 +08:00
14 lines
362 B
Ruby
Vendored
14 lines
362 B
Ruby
Vendored
# frozen_string_literal: true
|
|
|
|
class CreateLlmModelTable < ActiveRecord::Migration[7.0]
|
|
def change
|
|
create_table :llm_models do |t|
|
|
t.string :display_name
|
|
t.string :name, null: false
|
|
t.string :provider, null: false
|
|
t.string :tokenizer, null: false
|
|
t.integer :max_prompt_tokens, null: false
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|