diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2021-09-16 22:19:07 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2021-09-16 22:19:07 +0200 |
commit | d3fdcf53bcaf4b143c316f3379190d0053a6036f (patch) | |
tree | 81c99de94b0359f95eb847292344ea0c5807f687 /includes/admin/views/giglog_admin_page.php | |
parent | 7e00fa32ea8262de0a98ff78fb5be1dc16204aea (diff) | |
download | gigologadmin-d3fdcf53bcaf4b143c316f3379190d0053a6036f.tar.gz gigologadmin-d3fdcf53bcaf4b143c316f3379190d0053a6036f.tar.bz2 gigologadmin-d3fdcf53bcaf4b143c316f3379190d0053a6036f.zip |
Clean up, fix and rename db tables.
This patch got a bit more involved than what was originally planned, but
since we're messing with the tables I decided to do it all right away.
- Moves the constraint definition to the CREATE TABLE statement for the
concerts table. This replaces the existing KEY definition that it had.
- Make sure the venues table is created before the concerts table so
that the above mentioned constraint definition works.
- Rename the tables. Use the wpdb-prefix and make the name a bit
prettier. This caused some changes in the Concert and Venue classes,
and for slightly silly reasons some test classes. The code actually
turned out better (for the most part), but some refactoring can still
be done. The column names remains unchanged for now.
Diffstat (limited to 'includes/admin/views/giglog_admin_page.php')
0 files changed, 0 insertions, 0 deletions