{parts/gtag_head.html}
{parts/gtag_body.html}| Boa tarde, pessoal. |
| Estou enfrentando alguns erros ao atualizar o framework da versão 7.4.2 para 7.5.0 estou utilizando o template. MySQL 5.7.39 |
| No arquivo permission-update.sql: |
| <sql>INSERT INTO system_group_program VALUES((select coalesce(max(id),0)+1 from system_group_program b), 2, |
| (select id from system_program where controller='SystemWikiView'));</sql> |
| Erro SQL (1242): Subquery returns more than 1 row |
| No arquivo: communication-update.sql:
|
| <sql>CREATE TABLE system_post_share_group ( |
| id INTEGER PRIMARY KEY NOT NULL, |
| system_group_id INT, |
| system_group_id int, |
| system_wiki_page_id int REFERENCES system_wiki_page (id) not null |
| );</sql> |
| Erro SQL (1064): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not null)' at line 4 |
| No caso das querys do communication-update.sql ao retirar o NOT NULL da linha REFERENCES, o código funciona. |