mirror of
https://github.com/willchen96/mike.git
synced 2026-07-26 23:51:08 +02:00
feat: workflow, UI and document support updates
This commit is contained in:
parent
a5fe6d6e04
commit
82dcaefc43
139 changed files with 12554 additions and 2233 deletions
19
backend/migrations/20260704_01_chat_message_citations.sql
Normal file
19
backend/migrations/20260704_01_chat_message_citations.sql
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
do $$
|
||||
begin
|
||||
if exists (
|
||||
select 1
|
||||
from information_schema.columns
|
||||
where table_schema = 'public'
|
||||
and table_name = 'chat_messages'
|
||||
and column_name = 'annotations'
|
||||
) and not exists (
|
||||
select 1
|
||||
from information_schema.columns
|
||||
where table_schema = 'public'
|
||||
and table_name = 'chat_messages'
|
||||
and column_name = 'citations'
|
||||
) then
|
||||
alter table public.chat_messages
|
||||
rename column annotations to citations;
|
||||
end if;
|
||||
end $$;
|
||||
Loading…
Add table
Add a link
Reference in a new issue