Merge branch 'new-users'

This commit is contained in:
Yanick Champoux 2024-02-04 10:42:34 -05:00
commit b1908942e2
3 changed files with 11 additions and 2 deletions

View File

@ -0,0 +1,8 @@
-- migrate:up
insert or ignore into bgg_user (username) values ('xXazn_romeoXx'), ('yenzie'), ('gamingduo2'), ('dasyl') ;
-- migrate:down
delete from bgg_user where username in ('xXazn_romeoXx', 'yenzie', 'gamingduo2', 'dasyl' );

View File

@ -16,4 +16,5 @@ INSERT INTO "schema_migrations" (version) VALUES
('20240130203355'), ('20240130203355'),
('20240130203603'), ('20240130203603'),
('20240130205124'), ('20240130205124'),
('20240201201248'); ('20240201201248'),
('20240204153045');

View File

@ -95,7 +95,7 @@ async function update_user_games(username) {
}); });
} }
} }
await update_user_games('yenzie') await update_user_games('gamingduo2')
.then(() => console.log('is done')) .then(() => console.log('is done'))
.catch((e) => console.error(e)); .catch((e) => console.error(e));