mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
-- Add Missin column -- this update may release a column already exists error in some installations
This commit is contained in:
parent
92bb1788b8
commit
b3efc7aea8
2 changed files with 10 additions and 1 deletions
|
@ -564,7 +564,9 @@ CREATE TABLE IF NOT EXISTS `users_extra_info` (
|
|||
`created` DATETIME NULL,
|
||||
`modified` DATETIME NULL,
|
||||
`status` CHAR(1) NOT NULL DEFAULT 'a',
|
||||
PRIMARY KEY (`id`))
|
||||
`order` INT NOT NULL DEFAULT 0,
|
||||
PRIMARY KEY (`id`),
|
||||
INDEX `ordersortusers_extra_info` USING BTREE (`order`))
|
||||
ENGINE = InnoDB;
|
||||
|
||||
ALTER TABLE `category_type_cache`
|
||||
|
|
7
updatedb/updateDb.v10.6.sql
Normal file
7
updatedb/updateDb.v10.6.sql
Normal file
|
@ -0,0 +1,7 @@
|
|||
-- Add Missin column
|
||||
-- this update may release a column already exists error in some installations
|
||||
|
||||
ALTER TABLE `users`
|
||||
ADD COLUMN `users_extra_info` `order` INT NOT NULL DEFAULT 0;
|
||||
|
||||
UPDATE configurations SET version = '10.6', modified = now() WHERE id = 1;
|
Loading…
Add table
Add a link
Reference in a new issue