Skip to content
This repository has been archived by the owner on Apr 17, 2018. It is now read-only.

auto_upgrade doesn't work with property type change #24

Open
solnic opened this issue May 17, 2011 · 3 comments
Open

auto_upgrade doesn't work with property type change #24

solnic opened this issue May 17, 2011 · 3 comments

Comments

@solnic
Copy link
Contributor

solnic commented May 17, 2011

When I change type of property (e.g. from Integer to String) auto_upgrade! does not catch such change, and there is no way to migrate my db.


Created by knapo - 2010-12-27 15:16:20 UTC

Original Lighthouse ticket: http://datamapper.lighthouseapp.com/projects/20609/tickets/1461

@solnic
Copy link
Contributor Author

solnic commented May 17, 2011

Have you seen dm-migrations?

by Kabari

@solnic
Copy link
Contributor Author

solnic commented May 17, 2011

I have. But it’s for custom/uncommon changes in db, but I just need to change column type - which is similar operation than adding and removing column, and IMHO should be supported by auto_upgrade as well.

by knapo

@solnic
Copy link
Contributor Author

solnic commented May 17, 2011

Sure, this and other similar features will be supported. Migrations are going through a major re-work which slowed down adding new features. Nevertheless, we will get there soon.

by Piotr Solnica (solnic)

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

No branches or pull requests

1 participant