Skip to content

Cant use schema update when have tagged services #8

Closed
@alexander-schranz

Description

@alexander-schranz

If you have exist task.interval tagged services you can't run app/console doctrine:schema:update to create the tasks tables.

SQL to create it manually:

CREATE TABLE `tasks` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `task` longtext COLLATE utf8_unicode_ci NOT NULL COMMENT '(DC2Type:object)',
  `uuid` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `executionDate` datetime NOT NULL,
  `completed` tinyint(1) NOT NULL,
  `task_key` varchar(255) COLLATE utf8_unicode_ci DEFAULT '',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions