how to create plugin from current state #827
Replies: 2 comments 2 replies
-
@SledgehammerPL there isn't an automated way of doing this yet. You'd have to hand-craft a migration based on the current table schema. I believe there is a |
Beta Was this translation helpful? Give feedback.
-
./artisan create:migration Not enough arguments (missing: "plugin, name"). (I'm not sure what is name - my database tables begins with party_structure_ I tried: ./artisan create:migration party structure In Inflector.php line 491: Doctrine\Inflector\Inflector::singularize(): Argument #1 ($word) must be of type string, null given, called in /var/www/html/winter/vendor/laravel/f |
Beta Was this translation helpful? Give feedback.
-
I have a plugin in stable state. But I made lots of errors during creation so there is lots of wrong updates. And even worse, before I understand the plugin philosophy I made changes in table structure not in builder. So now I want to move plugin from development into testing - but plugin crashes during installation. Of course I can fix updates (almost 200 updates to check!) but this is plan B. Is there a method to prepare initial table creation based on current database? I know that I won't be able to go backafter this - but it is ok. Let's assume this is fork. No look back :D
Beta Was this translation helpful? Give feedback.
All reactions