Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zkokelj committed Feb 12, 2024
1 parent 0b16709 commit 94133ee
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tools/walletextension/storage/database/mariadb/001_init.sql
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ CREATE TABLE IF NOT EXISTS ogdb.users (
);


CREATE TABLE IF NOT EXISTS ogdb.users2 (
user_id varbinary(20) PRIMARY KEY,
private_key varbinary(32)
CREATE TABLE IF NOT EXISTS ogdb.accounts (
user_id varbinary(20),
account_address varbinary(20),
signature varbinary(65),
FOREIGN KEY(user_id) REFERENCES ogdb.users(user_id) ON DELETE CASCADE
);

0 comments on commit 94133ee

Please sign in to comment.