Skip to content

Change the table initialization ordering so index creation doesn't fail - #59

Open
fluffy-critter wants to merge 14 commits into
RomanSixty:masterfrom
fluffy-critter:issue/58-mysql-schema
Open

Change the table initialization ordering so index creation doesn't fail#59
fluffy-critter wants to merge 14 commits into
RomanSixty:masterfrom
fluffy-critter:issue/58-mysql-schema

Conversation

@fluffy-critter

Copy link
Copy Markdown
Contributor

Fixes issue #58 on a clean install on mysql 15.

A lot of stuff has been deprecated or made stricter with return type annotations. Also, the SimplePie ad-hoc autoloader stopped working, so I switched it to use [Composer](https://getcomposer.org/) to manage the external dependencies.

I have verified that this still works with PHP 8.1, although I cannot guarantee it on older versions.
A lot of stuff has been deprecated or made stricter with return type annotations. Also, the SimplePie ad-hoc autoloader stopped working, so I switched it to use [Composer](https://getcomposer.org/) to manage the external dependencies.

I have verified that this still works with PHP 8.1, although I cannot guarantee it on older versions.
mysql really needs the tables to be defined in the correct order. In the
future we should change the install process to put all the
indexes/constraints after the table creation, which would probably be a
cleaner fix.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant