Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contao3 - DB Query #4

Closed
tniebergall opened this issue Sep 16, 2013 · 3 comments
Closed

Contao3 - DB Query #4

tniebergall opened this issue Sep 16, 2013 · 3 comments
Labels

Comments

@tniebergall
Copy link

Folgender DB Query, bleibt dauerhaft bei der Durchführung des Datenbank Updates bestehen.

ALTER TABLE tl_metamodel_rating CHANGE meanvalue meanvalue double NULL default NULL;

@discordier
Copy link
Member

Ok, how shall we tackle that one?

Can we override the handling via DCA?
Like: Contao 2.X compat in database.sql and Contao 3.X in the dca/tl_metamodel_rating.php?

@stefanheimes
Copy link
Member

For all how need a quick bug fix:

Just remove the ' default NULL' from this line https://github.com/MetaModels/attribute_rating/blob/contao3/src/system/modules/metamodelsattribute_rating/config/database.sql#L45

This should help for contao 3.

@tniebergall
Copy link
Author

It works.

THX

andreasisaak added a commit that referenced this issue Feb 18, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants