Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migration of data failed from 5.11.29a-d #718

Open
danigl93 opened this issue Jan 30, 2025 · 1 comment
Open

Migration of data failed from 5.11.29a-d #718

danigl93 opened this issue Jan 30, 2025 · 1 comment

Comments

@danigl93
Copy link

Hello,

I get following error during the startup:

   INFO  Running migrations.  
  2025_01_22_013047_2025_01_22_add_verification_setting_to_gocardless  2.62ms FAIL
In Connection.php line 825:
                                                                               
  SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'job_batches  
  ' already exists (Connection: mysql, SQL: create table `job_batches` (`id`   
  varchar(191) not null, `name` varchar(191) not null, `total_jobs` int not n  
  ull, `pending_jobs` int not null, `failed_jobs` int not null, `failed_job_i  
  ds` longtext not null, `options` mediumtext null, `cancelled_at` int null,   
  `created_at` int not null, `finished_at` int null, primary key (`id`)) defa  
  ult character set utf8mb4 collate 'utf8mb4_unicode_ci' engine = InnoDB)      
                                                                               
In Connection.php line 571:
                                                                               
  SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'job_batches  
  ' already exists                

Image Version 5.11.28-d works without problems.

Best regards,
Daniel

@turbo124
Copy link
Member

I'm not seeing this one myself.

I'll wrap this particular migration in a check in case - sometime - the job_batches table has been created during a first time build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants