I've build a flask application with a sqlalchemy based db. I use the migrate script from: Link to mega tutorial But when i run this script i get a attributeError. here is a screenie from the error: Link to picture
Asked
Active
Viewed 76 times
0
-
You'll have to include your model definitions in the question. – Matt Healy May 13 '15 at 12:17
-
1From the error, it appears that in your model definition you have used a string in a place where you should have used an object. – Miguel Grinberg May 13 '15 at 16:00
-
`sqlachemy-migrate` has been replaced by [alembic](http://alembic.readthedocs.org/). You should use that instead. – nathancahill May 13 '15 at 16:03
1 Answers
1
I'll copy nathan's answer here so i can prove it right.
sqlachemy-migrate has been replaced by alembic. You should use that instead.

qLuke
- 109
- 12