Closed bepetersn closed 10 years ago
Brian the enum column was missing a name
needed for postgres. I noticed this when switching databases. I fixed it but haven't pushed because I need to finish other stuff first.
You should push to your github repo so people can see your work.
I'm just going to delete this stupid test.
Here is a gist showing the results of running the test locally (by setting CCJ_PRODUCTION env variable). It looks like what happens is Postgres tries to load all of our models (because of
db.create_all()
, with thedb
object imported fromccj.app
.A couple of points:
I would like to use this as a wedge to start using the pgsql database as we have decided we're going to, re: #365. In the meantime, I am going to relax the restriction of not deploying without passing tests, which our v2 fabfile has, because I would like to see if the v2 scraper can run successfully tomorrow (all of the real tests do pass).