diff options
Diffstat (limited to 'db/schema.sql')
| -rw-r--r-- | db/schema.sql | 35 |
1 files changed, 32 insertions, 3 deletions
diff --git a/db/schema.sql b/db/schema.sql index f34d9f57..e6a3c4b8 100644 --- a/db/schema.sql +++ b/db/schema.sql @@ -61,6 +61,20 @@ CREATE TABLE `accounts` ( /*!40101 SET character_set_client = @saved_cs_client */; -- +-- Table structure for table `codes` +-- + +DROP TABLE IF EXISTS `codes`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `codes` ( + `code` varchar(255) NOT NULL, + `text` text DEFAULT NULL, + PRIMARY KEY (`code`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- -- Table structure for table `invoices` -- @@ -81,8 +95,9 @@ CREATE TABLE `invoices` ( `tip` double DEFAULT NULL, `network` varchar(255) DEFAULT NULL, `unconfidential` varchar(255) DEFAULT NULL, + `uuid` varchar(255) DEFAULT NULL, PRIMARY KEY (`id`) -) ENGINE=InnoDB AUTO_INCREMENT=4579 DEFAULT CHARSET=latin1; +) ENGINE=InnoDB AUTO_INCREMENT=4600 DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -99,7 +114,7 @@ CREATE TABLE `linkingkeys` ( `createdAt` datetime NOT NULL, `updatedAt` datetime NOT NULL, PRIMARY KEY (`id`) -) ENGINE=InnoDB AUTO_INCREMENT=4494 DEFAULT CHARSET=latin1; +) ENGINE=InnoDB AUTO_INCREMENT=4495 DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -131,6 +146,20 @@ CREATE TABLE `payments` ( /*!40101 SET character_set_client = @saved_cs_client */; -- +-- Table structure for table `urls` +-- + +DROP TABLE IF EXISTS `urls`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `urls` ( + `hash` varchar(255) DEFAULT NULL, + `data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL, + UNIQUE KEY `urls_hash_unique` (`hash`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- -- Table structure for table `users` -- @@ -173,4 +202,4 @@ CREATE TABLE `users` ( /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2020-07-12 22:02:35 +-- Dump completed on 2020-07-16 13:52:58 |
