Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit 0615ebf

Browse files
committed
lintings
1 parent 48c476a commit 0615ebf

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

app/models/ai_tool.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,5 +370,5 @@ def self.presets
370370
# updated_at :datetime not null
371371
# rag_chunk_tokens :integer default(374), not null
372372
# rag_chunk_overlap_tokens :integer default(10), not null
373-
# tool_name :string default(""), not null
373+
# tool_name :string(100) default(""), not null
374374
#

db/migrate/20241020010245_add_tool_name_to_ai_tools.rb

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,13 @@
22

33
class AddToolNameToAiTools < ActiveRecord::Migration[7.1]
44
def up
5-
add_column :ai_tools, :tool_name, :string, null: false, limit: 100, default: "", if_not_exists: true
5+
add_column :ai_tools,
6+
:tool_name,
7+
:string,
8+
null: false,
9+
limit: 100,
10+
default: "",
11+
if_not_exists: true
612

713
# Migrate existing name to tool_name
814
execute <<~SQL

0 commit comments

Comments
 (0)