How to install custom DB tables in 5.7
Permalink
I have a db.xml file in \application\config with some tables setup in the usual C5 format, e.g.:
How do I install these? Pre 5.7 you'd go to dashboard -> Sitewide Settings -> debug -> refresh custom database tables.
<?xml version="1.0"?> <schema version="0.3"> <table name="ieUsers"> <field name="IEuID" type="I" size="10"> <key/> <autoincrement/> <unsigned/> </field> <field name="IEc5uID" type="I" size="10"> <unsigned/> </field> <field name="IEuFirstName" type="C" size="255"> <notnull/> </field> <field name="IEuLastName" type="C" size="255">
Viewing 15 lines of 20 lines. View entire code block.
How do I install these? Pre 5.7 you'd go to dashboard -> Sitewide Settings -> debug -> refresh custom database tables.
I would personally stick it in a package, that is easier,
This is true, but surely there's a way to do it without putting it into a package.
It's for a fairly big long-term personal project and I wasn't planning on packaging it up.
It's for a fairly big long-term personal project and I wasn't planning on packaging it up.