Skip to content

Commit

Permalink
Add 8.1 queries
Browse files Browse the repository at this point in the history
  • Loading branch information
M0rgan01 committed Apr 30, 2024
1 parent 11dc9e5 commit 90190a5
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions upgrade/sql/8.1.0.sql
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,24 @@ ALTER TABLE `PREFIX_stock_mvt` CHANGE `physical_quantity` `physical_quantity` IN
/* PHP:add_hook('actionAdminBreadcrumbModifier', 'Modify back office breadcrumb', 'This hook allows modifying back office breadcrumb'); */;

ALTER TABLE `PREFIX_order_payment` ADD `id_employee` INT NULL AFTER `date_add`;

CREATE TABLE `PREFIX_authorized_application`
(
id_authorized_application INT UNSIGNED AUTO_INCREMENT NOT NULL,
name VARCHAR(255) NOT NULL,
description LONGTEXT NOT NULL,
UNIQUE INDEX UNIQ_475B9BA55E237E06 (name),
PRIMARY KEY (id_authorized_application)
) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB;

CREATE TABLE `PREFIX_api_access`
(
id_api_access INT UNSIGNED AUTO_INCREMENT NOT NULL,
id_authorized_application INT UNSIGNED NOT NULL,
client_id VARCHAR(255) NOT NULL,
client_secret VARCHAR(255) NOT NULL,
active TINYINT(1) NOT NULL,
scopes LONGTEXT NOT NULL COMMENT '(DC2Type:array)',
INDEX IDX_6E064442D8BFF738 (id_authorized_application),
PRIMARY KEY (id_api_access)
) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB;

0 comments on commit 90190a5

Please sign in to comment.