Skip to content
Snippets Groups Projects
Commit 775b3d07 authored by Gabriel Zachmann's avatar Gabriel Zachmann
Browse files

fix db definitions

parent b41b70c3
No related branches found
No related tags found
No related merge requests found
......@@ -287,8 +287,8 @@ var DDL = []string {
"/*!40101 SET character_set_client = utf8 */;",
"CREATE TABLE `Users` ("+
" `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,"+
" `sub` text NOT NULL,"+
" `iss` text NOT NULL,"+
" `sub` varchar(1024) NOT NULL,"+
" `iss` varchar(512) NOT NULL,"+
" `token_tracing` tinyint(1) NOT NULL DEFAULT 1,"+
" `jwt_pk` text DEFAULT NULL,"+
" PRIMARY KEY (`id`),"+
......@@ -309,7 +309,6 @@ var DDL = []string {
"/*!50001 SET character_set_results = utf8mb4 */;",
"/*!50001 SET collation_connection = utf8mb4_general_ci */;",
"/*!50001 CREATE ALGORITHM=UNDEFINED */"+
"/*!50013 DEFINER=`root`@`%` SQL SECURITY DEFINER */"+
"/*!50001 VIEW `TransferCodes` AS select `pt`.`id` AS `id`,`pt`.`jwt` AS `jwt`,`tca`.`created` AS `created`,`tca`.`expires_in` AS `expires_in`,`tca`.`expires_at` AS `expires_at`,`tca`.`revoke_ST` AS `revoke_ST`,`tca`.`response_type` AS `response_type` from (`ProxyTokens` `pt` join `TransferCodesAttributes` `tca` on(`pt`.`id` = `tca`.`id`)) */;",
"/*!50001 SET character_set_client = @saved_cs_client */;",
"/*!50001 SET character_set_results = @saved_cs_results */;",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment