89 Commits

Author SHA1 Message Date
Moriz Wahl
2a5b0e49fe add userTransactions, transactionCreation and transaction 2021-12-01 13:58:24 +01:00
Moriz Wahl
66e629daa2 Interface for TransactionCreateCoin and TransactionSendCoin 2021-12-01 11:02:00 +01:00
Moriz Wahl
4717b0ba4c Add balance for seeded users 2021-11-30 13:20:59 +01:00
Moriz Wahl
7282330528 Balance Interface and OneToOne User -> Balance 2021-11-30 12:25:05 +01:00
Moriz Wahl
964b974142 seed decay start block 2021-11-30 11:14:53 +01:00
Moriz Wahl
43b9f9394b add transaction factory 2021-11-30 10:39:20 +01:00
Moriz Wahl
ff704bd9f4
Update database/src/factories/login-user-backup.factory.ts
Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2021-11-26 19:31:16 +01:00
Moriz Wahl
ac0c0c8449 seed Bob der Baumeister 2021-11-26 13:09:00 +01:00
Moriz Wahl
a6f36cd305 seed Räuber Hotzenplotz 2021-11-26 12:56:48 +01:00
Moriz Wahl
2fe18e851c seed Bibi Bloxberg 2021-11-26 12:48:33 +01:00
Moriz Wahl
3824920c47 get things working 2021-11-26 12:31:02 +01:00
Moriz Wahl
ae8fc914fb further refactoring 2021-11-26 12:24:56 +01:00
Moriz Wahl
e2f8de0acb refactor seed function 2021-11-26 12:08:18 +01:00
Moriz Wahl
56e95718e1 seed peter lustig as admin 2021-11-26 09:47:13 +01:00
Moriz Wahl
a14f37a5f4 Peter Lustig Seed as User (not admin yet) 2021-11-26 08:46:06 +01:00
Moriz Wahl
2ea309643c starting refactor user seed 2021-11-24 08:59:44 +01:00
Moriz Wahl
8f066595fc factory for login user backup 2021-11-23 11:49:06 +01:00
Moriz Wahl
a518ed5096 factory for server user 2021-11-23 11:35:03 +01:00
Moriz Wahl
d4883928f9 factory for login user 2021-11-23 11:17:03 +01:00
Moriz Wahl
0b3ead8369 simple seed is working 2021-11-18 19:17:51 +01:00
Moriz Wahl
15d1e6545b user factory and seed 2021-11-18 10:19:13 +01:00
f1a7575f37
end connections to db gracefully 2021-10-20 13:13:37 +02:00
c726ee9483
unify database connection database & backend - also log errors 2021-10-12 10:37:43 +02:00
aa07ef2231
errors on failed connection to help debugging, entities from database project in typeorm connection 2021-10-12 01:26:47 +02:00
b00a2a08d4
make typeorm available in the database project using our entities 2021-10-09 13:22:12 +02:00
8d48202779
removed test database creation from database prepare 2021-10-02 22:00:30 +02:00
einhorn_b
91d51ea7c3 fix 2 2021-09-23 13:25:38 +02:00
235de944d4
exit with code 1 if an error is thrown inside migration script 2021-08-23 15:47:14 +02:00
160e0bb6c6
comment 2021-08-23 12:38:26 +02:00
d4b5872ef2
also check if migration table is present at all 2021-08-23 12:38:26 +02:00
428b1139af
typo 2021-08-23 12:38:26 +02:00
f1ed748983
fixed bug where the migrations table was deleted every time 2021-08-23 12:38:26 +02:00
e8d6e871c4
missing await 2021-08-23 12:38:26 +02:00
197f1975bf
use mysql2 due to promise wrapper and speed advantage 2021-08-23 12:38:26 +02:00
d480cadf93
fixed build js up/down/reset commands
started to do some more prepare stuff
2021-08-23 12:38:26 +02:00
5bb5fda6e5
- initialize database migration
- create database if it does not exist
2021-08-23 12:38:25 +02:00
349d4316d8
lint fixes 2021-08-23 12:38:25 +02:00
60a7b2749b
- eslint
- typescript config
- package json commands
- refactor script to be able to run up/down/reset
- config
- linting
2021-08-23 12:38:25 +02:00
7ed56ed5ab
database migrations - initial commit 2021-08-23 12:38:25 +02:00