-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
c/cliRelated to CLIRelated to CLIc/consoleRelated to consoleRelated to consolek/enhancementNew feature or improve an existing featureNew feature or improve an existing feature
Description
Version: Beta.6
Image: Docker CLI Migrations
Platform: K8s
Host: macOS Mojave
The new Enum table seems it requires at least one row - to be able to be connected foreign key constraint. It breaks migrations as well.
Here is an excerpt from the logs:
...
...
...
level=fatal msg="apply failed: [constraint-violation] the table \"my_enum_table\"
cannot be used as an enum because the table must have at least one row
($.args[6].args)\r\nFile:
'1567433643579_alter_table_public_my_enum_table_set_enum_true.up.yaml
...
...
...
Thanks!
luke-j, schettino, BlueSeph28, sulliwane, ItsWendell and 1 more
Metadata
Metadata
Assignees
Labels
c/cliRelated to CLIRelated to CLIc/consoleRelated to consoleRelated to consolek/enhancementNew feature or improve an existing featureNew feature or improve an existing feature