as an extension developer is it my resposibility to generate the sql files? it does not work for me. do i miss somthing?
Manual talk:Schema changes
as an extension developer is it my resposibility to generate the sql files?
Yes.
it does not work for me. do i miss somthing?
Possibly, or our instructions aren't good enough. What doesn't work for you? How far do you get?
2 important steps which arent mentioned is the need of a running enviroment of mw (including a valid localsettings file) and run befor composer install. this fixed my issues.
@בקש: I've added this context. Do you think that will help others in future?
why not mention the need of run composer install (without --no-dev)?
@בקש: This is a detailed advanced developer instruction page. Basic "install MediaWiki" instructions are out of scope.
Basic "install MediaWiki" instructions use --no-dev flag... which wont work here
No? They say docker compose exec mediawiki composer update
.
I haven't found a way to express dropping a table using an abstract migration.
Seems this isn't necessary, it can be done trivially from the update hook:
$updater->dropExtensionTable( 'cn_known_mobile_carriers' );
Schema change patches?
There are no older topics