codeigniter4 / CodeIgniter4

Open Source PHP Framework (originally from EllisLab)
https://codeigniter.com/
MIT License
5.3k stars 1.89k forks source link

Bug: spark migrate, only create de table "migrations" and empty #9196

Open nicojmb opened 4 hours ago

nicojmb commented 4 hours ago

PHP Version

8.3

CodeIgniter4 Version

4.5.5

CodeIgniter4 Installation Method

Composer (using codeigniter4/appstarter)

Which operating systems have you tested for this bug?

Linux

Which server did you use?

fpm-fcgi

Database

PostreSQL 14.12

What happened?

No tables are created

Steps to Reproduce

php spark migrate

Expected Output

Tables must be created in database

Anything else?

if execute php spark migrate:status, show this:

image

image

And in PostGre database, only show "migrations" table:

image

nicojmb commented 3 hours ago

Hi again,

I found the problem, all migrations are from other namespaces so executed this command:

spark migrate --all

Works perfect!!