Skip to content

Rename "offset" since its a reserved keyword in MySQL/MariaDB #447

@topfuel75

Description

@topfuel75

Maybe don't use offset since its a is a reserved keyword in MySQL/MariaDB.

CREATE TABLE IF NOT EXISTS `PREFIX_eventbus_type_sync`
(
    `type`               VARCHAR(50)      NOT NULL,
    `offset`             INT(10) UNSIGNED NOT NULL DEFAULT 0,
    `id_shop`            INT(10) UNSIGNED NOT NULL,
    `lang_iso`           VARCHAR(3),
    `full_sync_finished` TINYINT(1)       NOT NULL DEFAULT 0,
    `last_sync_date`     DATETIME         NOT NULL,
    PRIMARY KEY (`type`, `id_shop`, `lang_iso`)
) ENGINE = ENGINE_TYPE
  DEFAULT CHARSET = utf8;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions