mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 15:51:01 +08:00
Fix x2?
This commit is contained in:
parent
9b9ebb7f50
commit
48f897ed63
@ -1,6 +1,4 @@
|
||||
import sql from "~/server/components/postgres";
|
||||
const createSources = await sql``;
|
||||
|
||||
export default defineEventHandler(async (event) => {
|
||||
const createUsers = await sql`
|
||||
create table if not exists users (
|
||||
@ -33,7 +31,7 @@ CREATE TABLE IF NOT EXISTS chat_history (
|
||||
content TEXT NOT NULL,
|
||||
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
|
||||
)`;
|
||||
|
||||
const createSources = await sql``;
|
||||
return {
|
||||
createUsers: createUsers,
|
||||
usersList: usersList,
|
||||
|
Loading…
x
Reference in New Issue
Block a user