59 Commits

Author SHA1 Message Date
fa7c782672
fixed seed (untested, just building) 2022-02-03 21:35:15 +01:00
Moriz Wahl
3cdaf860dd
Merge branch 'master' into database_transaction_signatures 2022-02-02 18:05:04 +01:00
107d92eef6
fix seed 2022-02-02 17:42:20 +01:00
348125512c
adjust seeder according to new database chnages 2022-02-02 17:18:28 +01:00
5bc23a4857
remove typeorm from backend project and reference the one installed in database. This way the default connection of the enteties can be used - this was not possible before since the connection waa created in the backend typeorm, but the entities are defined in the database installation.
We now remove the typeorm from backend and rely solely on the database typeorm. We now can use both activeRecord and dataMapper pattern.
2022-02-01 04:14:54 +01:00
0bc4b4beae
all three mnemonic lists for database to perform transformation 2022-01-25 00:49:53 +01:00
Moriz Wahl
8c031a562a fix linting 2022-01-13 12:27:58 +01:00
Moriz Wahl
44e3e38937 link email addresses 2022-01-13 12:16:22 +01:00
Moriz Wahl
bfd40a0ca7 seed 96 random users 2022-01-13 11:49:29 +01:00
Moriz Wahl
d157240d3b remove null definitions 2022-01-11 12:17:08 +01:00
Moriz Wahl
b5a54929fd feat: Seed Garrick Ollivander 2022-01-11 08:47:53 +01:00
Moriz Wahl
fda6576714 change paths of up, down and reset 2021-12-29 22:09:56 +01:00
Moriz Wahl
0cd6a40304 try with path.join 2021-12-29 12:59:25 +01:00
Moriz Wahl
dc3f86f0c6 Undo path change 2021-12-29 12:53:00 +01:00
Moriz Wahl
b6c66dd2da try relative path to migrations 2021-12-28 17:47:43 +01:00
Moriz Wahl
5c79d34ef3 test language, make pubkey unique, migrations dir from config 2021-12-28 17:36:41 +01:00
Moriz Wahl
28520d6de8 minor improvements 2021-12-27 16:03:20 +01:00
Moriz Wahl
3d349b2121 feat: Test Create User Mutation 2021-12-27 15:57:04 +01:00
Moriz Wahl
3392ca025a seed transaction signature for the three creations 2021-12-02 10:06:36 +01:00
Moriz Wahl
e99aa0d5ad timestamp to date 2021-12-01 14:03:56 +01:00
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