mirror of
https://github.com/discourse/discourse-ai.git
synced 2025-02-08 20:44:42 +00:00
13 lines
349 B
Ruby
13 lines
349 B
Ruby
|
# frozen_string_literal: true
|
||
|
class AddChatMessageCustomPrompt < ActiveRecord::Migration[7.0]
|
||
|
def change
|
||
|
create_table :chat_message_custom_prompts do |t|
|
||
|
t.bigint :message_id, null: false
|
||
|
t.json :custom_prompt, null: false
|
||
|
t.timestamps
|
||
|
end
|
||
|
|
||
|
add_index :chat_message_custom_prompts, :message_id, unique: true
|
||
|
end
|
||
|
end
|