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

So as far as I can tell the MigrationRunner doesn't actually check namespaces autoloaded by Composer. If I specify a namespace in app/Config/Autoload.php then I can use migrate:latest -n [namespace], but without specifying it running the migration does nothing. To be precise: it doesn't give an error like it does if the namespace isn't matched ("Undefined index: MyNamespace"), it just says "Migrating to latest version... Done" but never detects that there are migrations to run.
Any advice would be great. If this indeed not my ignorance, this seems a pretty big block to distributable packages. if you want something to look at the context I'm working on right now is a traffic logging library:
https://github.com/tattersoftware/codeigniter4-visits
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