1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 01:39:24 +02:00
cannot be bigint
This commit is contained in:
DanielnetoDotCom 2020-10-26 09:31:41 -03:00
parent 8c4241344b
commit 632fbe3acd
2 changed files with 1 additions and 4 deletions

View file

@ -187,7 +187,7 @@ ENGINE = InnoDB;
-- Table `comments`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `comments` (
`id` BIGINT NOT NULL AUTO_INCREMENT,
`id` INT NOT NULL AUTO_INCREMENT,
`comment` TEXT NOT NULL,
`videos_id` INT NOT NULL,
`users_id` INT NOT NULL,

View file

@ -6,9 +6,6 @@ ALTER TABLE `users`
CHANGE COLUMN `email` VARCHAR(254) NULL,
CHANGE COLUMN `created` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP;
ALTER TABLE `comments`
CHANGE COLUMN `id` BIGINT NOT NULL AUTO_INCREMENT;
ALTER TABLE `configurations`
CHANGE COLUMN `contactEmail` VARCHAR(254) NOT NULL;