MVC mysql update

41 views
Skip to first unread message

Glenn Arkell

unread,
May 17, 2014, 9:14:11 PM5/17/14
to jooml...@googlegroups.com
Hi Guys,

It's been a while since I dabbled in doco for the project but I discovered ages ago that the MVC tutorial was missing a "/" in the update mysql schema details.  Or at least I believe so and stand corrected if I'm worng.

It was
        <update> <!-- Runs on update; New since J2.5 -->
                <schemas>
                        <schemapath type="mysql">sql/updates/mysql</schemapath>
                </schemas>
        </update>

and I've started changing it to include the forward slash after mysql. . .

        <update> <!-- Runs on update; New since J2.5 -->
                <schemas>
                        <schemapath type="mysql">sql/updates/mysql/</schemapath>
                </schemas>
        </update>

But thought I should just confirm I'm right before I change it in every page.  Please advise.  Cheers.

Glenn

Matt Thomas

unread,
May 19, 2014, 9:39:55 AM5/19/14
to jooml...@googlegroups.com
Hi Glenn,

That change makes sense to me. Does it solve any error or issue?

Best,
Matt

Glenn Arkell

unread,
May 19, 2014, 5:52:25 PM5/19/14
to jooml...@googlegroups.com
Hi Matt,

Early in my learning of developing components I had trouble with the SQL update until I put the extra slash in and it works fine for me with it.  Just recently revisited the tutorial to see if there were any "gems" to learn more from and noticed it was missing the slash.  So I started updating it and then lost my nerve and wanted confirmation.  Silly, I know.  Anyway it's been working fine for me over the past couple of years so I guess I'll go ahead and make the updates.  Cheers.

Glenn
Reply all
Reply to author
Forward
0 new messages