1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
insert into transaction_schema (schema_type, schema_version, schema)
values
(
'payment',
'1.0.0',
'{"type": "object", "required": ["amount", "currency"], "properties": {"amount": {"type": "number"}, "currency": {"type": "string"}}}'
),
(
'refund',
'1.0.0',
'{"type": "object", "required": ["original_txn_id"], "properties": {"original_txn_id": {"type": "string"}}}'
),
(
'payment',
'1.1.0',
'{}'
),
(
'refund',
'1.2.0',
'{}'
),
(
'refund',
'1.3.0',
'{}'
);
|