Merge branch 'new-users'
This commit is contained in:
commit
b1908942e2
8
db/migrations/20240204153045_new-users.sql
Normal file
8
db/migrations/20240204153045_new-users.sql
Normal 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' );
|
@ -16,4 +16,5 @@ INSERT INTO "schema_migrations" (version) VALUES
|
|||||||
('20240130203355'),
|
('20240130203355'),
|
||||||
('20240130203603'),
|
('20240130203603'),
|
||||||
('20240130205124'),
|
('20240130205124'),
|
||||||
('20240201201248');
|
('20240201201248'),
|
||||||
|
('20240204153045');
|
||||||
|
@ -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));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user