fix: load dummy data script
This commit is contained in:
parent
9a23186904
commit
7e56a27212
1 changed files with 3 additions and 2 deletions
|
|
@ -17,7 +17,8 @@ const loadDummyTxData = () => {
|
|||
i::integer, 'EUR', null, null, null, null, now() - random() * INTERVAL '2 days', random() > 0.5,
|
||||
random() > 0.5, random() > 0.5, now() - random() * INTERVAL '2 days', null, random() > 0.5,
|
||||
random() > 0.5, i::integer, i::integer, 1, '99ac9999-9999-99e9-9999-9f99a9999999',
|
||||
6, random() > 0.5, random() * (0.9-0.1) + 0.1::int, i::integer, random() > 0.5, null, null
|
||||
6, random() > 0.5, random() * (0.9-0.1) + 0.1::int, i::integer, random() > 0.5, null, null, false,
|
||||
null, null, null
|
||||
FROM generate_series(1, 5000000) as t(i);
|
||||
|
||||
INSERT INTO cash_out_txs
|
||||
|
|
@ -26,7 +27,7 @@ const loadDummyTxData = () => {
|
|||
null, null, now() - random() * INTERVAL '2 days', now() - random() * INTERVAL '2 days', null,
|
||||
random() > 0.5, random() > 0.5, random() > 0.5, 0, 1, 20, 50, null, '99ac9999-9999-99e9-9999-9f99a9999999',
|
||||
random() * (40-1) + 1::int, now() - random() * INTERVAL '2 days', random() > 0.5, null,
|
||||
random() * (0.9-0.1) + 0.1::int, i::integer, i::integer, null
|
||||
random() * (0.9-0.1) + 0.1::int, i::integer, i::integer, null, null, null, null, null, null, null, null
|
||||
FROM generate_series(1, 5000000) as t(i);
|
||||
|
||||
INSERT INTO logs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue