Fix SQL-schema for pass all of PHPUnit tests.