Add models and rake tasks for migrating

This commit is contained in:
James Dinkel 2025-08-19 23:39:39 -05:00
parent 0f108984ea
commit 5e3557cb63
3 changed files with 74 additions and 0 deletions

View file

@ -0,0 +1,19 @@
# frozen_string_literal: true
Sequel.migration do
change do
create_table(:models) do
primary_key :id
String :name, null: false
String :run_command, null: false, unique: true
String :reputation, text: true
Integer :context_length
Integer :parameters
Float :prompt_rate
Float :eval_rate
String :capabilities
String :test_results
DateTime :created_at, null: false
end
end
end