removed user creation on database initialization
This commit is contained in:
parent
2fb4f8ac98
commit
1a456ca23d
|
|
@ -350,13 +350,8 @@ export async function init_db() {
|
||||||
|
|
||||||
if (!is_db_initialized(user_database)) {
|
if (!is_db_initialized(user_database)) {
|
||||||
setup_db(user_database, USER_DATABASE_SETUP);
|
setup_db(user_database, USER_DATABASE_SETUP);
|
||||||
|
|
||||||
console.log("create user");
|
|
||||||
create_user({name: "PM", gender: "x", address: "home", username: "P", password: "M" });
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
console.log(do_users_exist())
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function close_db() {
|
export function close_db() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue