Account API

This commit is contained in:
ToniRamirezM
2020-10-29 10:57:49 +01:00
parent e8aabab2de
commit b840ceb57a
14 changed files with 447 additions and 19 deletions

View File

@@ -94,6 +94,7 @@ LANGUAGE plpgsql;
-- +migrate StatementEnd
CREATE TABLE account (
item_id SERIAL,
idx BIGINT PRIMARY KEY,
token_id INT NOT NULL REFERENCES token (token_id) ON DELETE CASCADE,
batch_num BIGINT NOT NULL REFERENCES batch (batch_num) ON DELETE CASCADE,