Welcome Guest, Not a member yet? Register   Sign In
Third Party Migrations
#10

Alright, a long journey through the code later: confirmed that migrations only check app/Config/Autoload.php for namespaces. I updated MigrationRunner.php to use the Autoloader instead to check all initialized namespaces, which will include those sourced from Composer. I realize it is possible the original behavior was desired, but it seems odd to auto-autoload packages for all other purposes but still be forced to enter them manually in the config file if you want database support.
I'm open to discussion, here or GitHub: https://github.com/codeigniter4/CodeIgniter4/pull/1860
Reply


Messages In This Thread
Third Party Migrations - by MGatner - 03-19-2019, 01:15 PM
RE: Third Party Migrations - by kilishan - 03-19-2019, 02:16 PM
RE: Third Party Migrations - by MGatner - 03-19-2019, 06:38 PM
RE: Third Party Migrations - by kilishan - 03-19-2019, 07:30 PM
RE: Third Party Migrations - by MGatner - 03-20-2019, 05:14 AM
RE: Third Party Migrations - by kilishan - 03-20-2019, 07:30 AM
RE: Third Party Migrations - by MGatner - 03-21-2019, 01:44 PM
RE: Third Party Migrations - by kilishan - 03-21-2019, 09:03 PM
RE: Third Party Migrations - by MGatner - 03-22-2019, 07:20 AM
RE: Third Party Migrations - by MGatner - 03-22-2019, 12:31 PM
RE: Third Party Migrations - by MGatner - 03-22-2019, 12:36 PM
RE: Third Party Migrations - by kilishan - 03-22-2019, 12:55 PM
RE: Third Party Migrations - by MGatner - 03-26-2019, 03:22 AM
RE: Third Party Migrations - by blaasvaer - 09-10-2020, 04:39 AM



Theme © iAndrew 2016 - Forum software by © MyBB