mirror of
https://github.com/hpware/news-analyze.git
synced 2025-07-17 07:59:06 +00:00
Update stuff.
Some checks are pending
Build and Push Beta Image / build-and-push (push) Waiting to run
Some checks are pending
Build and Push Beta Image / build-and-push (push) Waiting to run
This commit is contained in:
parent
c81767b903
commit
ea58cf5208
6 changed files with 46 additions and 30 deletions
|
@ -60,6 +60,12 @@ export default defineEventHandler(async (event) => {
|
|||
)
|
||||
`;
|
||||
|
||||
const createGlobalVars = await sql`
|
||||
CREATE TABLE IF NOT EXISTS global_vars (
|
||||
NAME TEXT PRIMARY KEY NOT NULL,
|
||||
VAR TEXT NOT NULL
|
||||
)
|
||||
`;
|
||||
return {
|
||||
createUsers: createUsers,
|
||||
usersList: usersList,
|
||||
|
@ -67,5 +73,6 @@ export default defineEventHandler(async (event) => {
|
|||
createSources: createSources,
|
||||
createUserOtherData: createUserOtherData,
|
||||
createArticlesArchive: createArticlesArchive,
|
||||
createGlobalVars: createGlobalVars,
|
||||
};
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue