AlekseiSaff commented on issue #24247:
URL: https://github.com/apache/airflow/issues/24247#issuecomment-1147516986

   here is the squences in my DB (2.31 and 2.32) that you can create manually
   
   DROP SEQUENCE IF EXISTS `ab_permission_id_seq`;
   CREATE SEQUENCE `ab_permission_id_seq` start with 1 minvalue 1 maxvalue 
9223372036854775806 increment by 1 cache 1000 nocycle ENGINE=InnoDB;
   SELECT SETVAL(`ab_permission_id_seq`, 1001, 0);
   
   --
   -- Sequence structure for `ab_permission_view_id_seq`
   --
   
   DROP SEQUENCE IF EXISTS `ab_permission_view_id_seq`;
   CREATE SEQUENCE `ab_permission_view_id_seq` start with 1 minvalue 1 maxvalue 
9223372036854775806 increment by 1 cache 1000 nocycle ENGINE=InnoDB;
   SELECT SETVAL(`ab_permission_view_id_seq`, 6001, 0);
   
   --
   -- Sequence structure for `ab_permission_view_menu_id_seq`
   --
   
   DROP SEQUENCE IF EXISTS `ab_permission_view_menu_id_seq`;
   CREATE SEQUENCE `ab_permission_view_menu_id_seq` start with 1 minvalue 1 
maxvalue 9223372036854775806 increment by 1 cache 1000 nocycle ENGINE=InnoDB;
   SELECT SETVAL(`ab_permission_view_menu_id_seq`, 1, 0);
   
   --
   -- Sequence structure for `ab_permission_view_role_id_seq`
   --
   
   DROP SEQUENCE IF EXISTS `ab_permission_view_role_id_seq`;
   CREATE SEQUENCE `ab_permission_view_role_id_seq` start with 1 minvalue 1 
maxvalue 9223372036854775806 increment by 1 cache 1000 nocycle ENGINE=InnoDB;
   SELECT SETVAL(`ab_permission_view_role_id_seq`, 6001, 0);
   
   --
   -- Sequence structure for `ab_view_menu_id_seq`
   --
   
   DROP SEQUENCE IF EXISTS `ab_view_menu_id_seq`;
   CREATE SEQUENCE `ab_view_menu_id_seq` start with 1 minvalue 1 maxvalue 
9223372036854775806 increment by 1 cache 1000 nocycle ENGINE=InnoDB;
   SELECT SETVAL(`ab_view_menu_id_seq`, 10001, 0);
   
   --
   -- Sequence structure for `task_id_sequence`
   --
   
   DROP SEQUENCE IF EXISTS `task_id_sequence`;
   CREATE SEQUENCE `task_id_sequence` start with 1 minvalue 1 maxvalue 
9223372036854775806 increment by 1 cache 1000 nocycle ENGINE=InnoDB;
   SELECT SETVAL(`task_id_sequence`, 49001, 0);
   
   --
   -- Sequence structure for `taskset_id_sequence`
   --
   
   DROP SEQUENCE IF EXISTS `taskset_id_sequence`;
   CREATE SEQUENCE `taskset_id_sequence` start with 1 minvalue 1 maxvalue 
9223372036854775806 increment by 1 cache 1000 nocycle ENGINE=InnoDB;
   SELECT SETVAL(`taskset_id_sequence`, 1, 0);
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to