mirror of
				https://gitlab.com/comunic/comunicapiv3
				synced 2025-11-04 09:34:04 +00:00 
			
		
		
		
	Fix bad column
This commit is contained in:
		@@ -45,7 +45,7 @@ CREATE TABLE `comunic_clients` (
 | 
				
			|||||||
  `name` VARCHAR(45) NOT NULL,
 | 
					  `name` VARCHAR(45) NOT NULL,
 | 
				
			||||||
  `domain` VARCHAR(45) NULL COMMENT 'Use to check Referer & define Access-Control-Allow-Origin',
 | 
					  `domain` VARCHAR(45) NULL COMMENT 'Use to check Referer & define Access-Control-Allow-Origin',
 | 
				
			||||||
  `comment` VARCHAR(45) NULL COMMENT 'Information about the client',
 | 
					  `comment` VARCHAR(45) NULL COMMENT 'Information about the client',
 | 
				
			||||||
  `default_expiration_time` INT GENERATED ALWAYS AS (2592000)  COMMENT '2592000 = 1 month',
 | 
					  `default_expiration_time` INT DEFAULT 2592000 COMMENT '2592000 = 1 month',
 | 
				
			||||||
  PRIMARY KEY (`ID`));
 | 
					  PRIMARY KEY (`ID`));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -10,7 +10,7 @@ CREATE TABLE `comunic_clients` (
 | 
				
			|||||||
  `name` VARCHAR(45) NOT NULL,
 | 
					  `name` VARCHAR(45) NOT NULL,
 | 
				
			||||||
  `domain` VARCHAR(45) NULL COMMENT 'Use to check Referer & define Access-Control-Allow-Origin',
 | 
					  `domain` VARCHAR(45) NULL COMMENT 'Use to check Referer & define Access-Control-Allow-Origin',
 | 
				
			||||||
  `comment` VARCHAR(45) NULL COMMENT 'Information about the client',
 | 
					  `comment` VARCHAR(45) NULL COMMENT 'Information about the client',
 | 
				
			||||||
  `default_expiration_time` INT GENERATED ALWAYS AS (2592000)  COMMENT '2592000 = 1 month',
 | 
					  `default_expiration_time` INT DEFAULT 2592000  COMMENT '2592000 = 1 month',
 | 
				
			||||||
  PRIMARY KEY (`ID`));
 | 
					  PRIMARY KEY (`ID`));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
CREATE TABLE `comunic_user_access_tokens` (
 | 
					CREATE TABLE `comunic_user_access_tokens` (
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user