GovLab / noi2

The Network of Innovators website.
http://noi-demo.thegovlab.org/
4 stars 10 forks source link

Store migrated NoI1 data using PostgreSQL's JSON data type #272

Open toolness opened 8 years ago

toolness commented 8 years ago

As mentioned in https://github.com/GovLab/noi2/pull/271#issuecomment-180126610, SQLAlchemy has support for Postgres' JSON data type, so we might as well use that for storing the NoI1 user's raw profile data, rather than using a text column with json.dumps().

toolness commented 8 years ago

I suppose there's no urgent rush to do this, as we can just bust a migration that does the conversion for us later if we want...