Skip to content

Commit

Permalink
fix: add missing ddl
Browse files Browse the repository at this point in the history
  • Loading branch information
Mini256 committed Jun 24, 2024
1 parent e28f8ba commit e32d921
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ddl/3-add-engine-id-and-name-to-chat-table.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ALTER TABLE chat ADD COLUMN engine_id INT AFTER title;
ALTER TABLE chat ADD COLUMN engine_name VARCHAR(256) AFTER engine_id;
13 changes: 13 additions & 0 deletions ddl/4-add-app-auth-table-schema.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

create table app
(
app_id varchar(50) null,
name varchar(255) null
);

create table app_access_token
(
app_id varchar(50) not null primary key,
token varchar(255) not null,
constraint idx_aat_on_token unique (token)
);

0 comments on commit e32d921

Please sign in to comment.