Closed EreMaijala closed 3 years ago
ERROR 1005 (HY000) at line 1 in file: '.../dbscripts/mysql.sql': Can't create table recman
.record
(errno: 150 "Foreign key constraint is incorrectly formed")
ERROR 1005 (HY000) at line 24 in file: '.../dbscripts/mysql.sql': Can't create table recman
.record_attrs
(errno: 150 "Foreign key constraint is incorrectly formed")
Query OK, 0 rows affected (0.033 sec)
ERROR 1005 (HY000) at line 40 in file: '.../dbscripts/mysql.sql': Can't create table recman
.dedup_attrs
(errno: 150 "Foreign key constraint is incorrectly formed")
Pari virhettä tuli vastaan, toimi kun ajoi toistamiseen tuon mysql.sql tiedoston
@LuomaJuha Now fixed.
@demiankatz Thanks for your feedback, appreciated! No static analysis tools used yet, but I'll see what I can do about that. It's a good idea! Also, splitting the database config to backend-specific sections makes sense. I'll adjust it right away.
Great! Let me know if I can do anything more to help. If you want to try PHPMD, you should be able to steal the Phing settings from VuFind pretty easily. You can also find Psalm setup in a PR: https://github.com/vufind-org/vufind/pull/1764. I haven't gotten around to investigating PHPStan yet.
Includes database creation script for MySQL/MariaDB.