XF 2.0 XenForo add-on development

Creating the tables manually runs the queries :)

Basically, anything you do in the Setup class you have to do as well when creating an add-on, as the setup class isn't run.

Liam
 
Sure — I'm aware that using a GUI just runs the queries in the background (y)

But basically the answer is "yes" — you have to manually create the additional tables/columns in whatever way you see fit.

Thanks for confirming!

I haven't reached the end of the tutorial yet... :)
 
There is no need to run SQL queries directly (at least for dev tutorial). I used development commands to run created setup steps:
PHP:
php cmd.php xf-addon:install-step DemoAddon [step]

OK. I manually created the tables/fields but those CLI commands are very handy!! I had read that but already forgotten by the time I got to the tutorial.
 
Back
Top Bottom