diff options
| author | Adam Soltys <[email protected]> | 2020-08-16 21:34:13 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2020-08-16 21:34:13 -0700 |
| commit | 7ab3036cb1576fe38ba1fd423a58b7cd97a58579 (patch) | |
| tree | 305b1a0aa321389b60385009876bbdb1fe0a1c68 /db/schema.sql | |
| parent | b2208797d3c5559c7e8cc7d35b7a020da0c61193 (diff) | |
| download | coinos-server-7ab3036cb1576fe38ba1fd423a58b7cd97a58579.tar.gz coinos-server-7ab3036cb1576fe38ba1fd423a58b7cd97a58579.zip | |
non-custodial liquid wallets
Diffstat (limited to 'db/schema.sql')
| -rw-r--r-- | db/schema.sql | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/db/schema.sql b/db/schema.sql index 731f7ca9..b423620e 100644 --- a/db/schema.sql +++ b/db/schema.sql @@ -60,10 +60,9 @@ CREATE TABLE `accounts` ( `contract` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL, `pubkey` varchar(255) DEFAULT NULL, `index` int(11) DEFAULT NULL, - `address` varchar(255) DEFAULT NULL, `hide` tinyint(1) DEFAULT NULL, PRIMARY KEY (`id`) -) ENGINE=InnoDB AUTO_INCREMENT=3786 DEFAULT CHARSET=latin1; +) ENGINE=InnoDB AUTO_INCREMENT=3809 DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -103,8 +102,9 @@ CREATE TABLE `invoices` ( `unconfidential` varchar(255) DEFAULT NULL, `uuid` varchar(255) DEFAULT NULL, `memo` text DEFAULT NULL, + `account_id` int(11) DEFAULT NULL, PRIMARY KEY (`id`) -) ENGINE=InnoDB AUTO_INCREMENT=5068 DEFAULT CHARSET=latin1; +) ENGINE=InnoDB AUTO_INCREMENT=5116 DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -121,7 +121,7 @@ CREATE TABLE `linkingkeys` ( `createdAt` datetime NOT NULL, `updatedAt` datetime NOT NULL, PRIMARY KEY (`id`) -) ENGINE=InnoDB AUTO_INCREMENT=4517 DEFAULT CHARSET=latin1; +) ENGINE=InnoDB AUTO_INCREMENT=4518 DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -152,7 +152,7 @@ CREATE TABLE `payments` ( `redeemcode` varchar(255) DEFAULT NULL, `redeemed` tinyint(1) NOT NULL DEFAULT 0, PRIMARY KEY (`id`) -) ENGINE=InnoDB AUTO_INCREMENT=4972 DEFAULT CHARSET=latin1; +) ENGINE=InnoDB AUTO_INCREMENT=5169 DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -203,7 +203,6 @@ CREATE TABLE `users` ( `id` int(11) NOT NULL AUTO_INCREMENT, `username` varchar(255) DEFAULT NULL, `password` varchar(255) DEFAULT NULL, - `address` varchar(255) DEFAULT NULL, `unit` varchar(255) DEFAULT 'SAT', `account_id` int(11) DEFAULT NULL, `currency` varchar(255) DEFAULT NULL, @@ -212,8 +211,6 @@ CREATE TABLE `users` ( `twofa` tinyint(1) DEFAULT NULL, `authyId` varchar(255) DEFAULT NULL, `pin` varchar(255) DEFAULT NULL, - `confidential` varchar(255) DEFAULT NULL, - `liquid` varchar(255) DEFAULT NULL, `currencies` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL, `otpsecret` varchar(255) DEFAULT NULL, `ip` int(10) unsigned DEFAULT NULL, @@ -223,7 +220,7 @@ CREATE TABLE `users` ( `fiat` tinyint(1) NOT NULL DEFAULT 0, PRIMARY KEY (`id`), KEY `ip` (`ip`) -) ENGINE=InnoDB AUTO_INCREMENT=652 DEFAULT CHARSET=latin1; +) ENGINE=InnoDB AUTO_INCREMENT=653 DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; @@ -235,4 +232,4 @@ CREATE TABLE `users` ( /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2020-08-11 14:18:10 +-- Dump completed on 2020-08-16 15:42:08 |
