aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/db/sql/models.py
Commit message (Collapse)AuthorAgeFilesLines
...
* SQL Model: Forgot MediaEntry.state fieldElrond2011-12-281-0/+1
| | | | | | | | While creating the new SQL model, the "state" field of MediaEntry was left out. Currently using a plain unicode string for it. Maybe should use sqlalchemy.types.Enum?
* Implement _id proxy on sql objects (on User for now)Elrond2011-12-281-0/+14
| | | | | | | | So that the old code can access the primary key still as "._id". Quite simple Python Descriptor thing. Very generic.
* SQL: mongokit like interfaceElrond2011-12-181-1/+3
| | | | | | | | In trying to ease the migration to SQL, created an interface to sqlalchemy that looks a lot like the interface that is currently in use. *WARNING* Work in progress
* Little sql model updateElrond2011-12-171-1/+2
| | | | | | - Add title to the MediaEntry - Rename fp_verification_expire to fp_token_expire to follow the mongo model.
* SQL: Some toys and little fixElrond2011-12-151-1/+12
| | | | | | | | Run bin/python mediagoblin/db/sql/models.py and watch the create tables on a memory sqlite db. Also unicode strings need unicode defauls. Warning by sqlalchemy.
* Move sql models into db/sql/Elrond2011-12-151-0/+95
So we can play with the sql models, let's put them in a proper place.