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

guid field is not re-created during an update when metadata=false #124

Open
feri opened this issue Nov 1, 2011 · 3 comments
Open

guid field is not re-created during an update when metadata=false #124

feri opened this issue Nov 1, 2011 · 3 comments

Comments

@feri
Copy link
Member

feri commented Nov 1, 2011

DB: mysql
midgard core: latest from OBS

I have a simple schema with metadata=false declaration. Creating the table for the 1st time works fine, ie. the schema gets extended with the 'guid' field.

Now, I drop the table from the database and do a 'midgardmvc update_db'. The new table is created, but the 'guid' field is missing. This leads to errors when doing queries.

@piotras
Copy link
Member

piotras commented Nov 1, 2011

Can not reproduce it. Can you point to midgardmvc update_db code?

@feri
Copy link
Member Author

feri commented Nov 1, 2011

Yes, of course: starts at line 74.

@feri
Copy link
Member Author

feri commented Nov 1, 2011

My host arch is amd64, although it shouldn't matter perhaps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants