django - Synchronizing two databases via mappings in Python -
i have live django 1.6 project makes use of postgresql database. i've been developing api project support mobile app - making use of south migrations go along.
as result of of this: have new database structure , code-base quite far removed production database although many of fields in production database still present in new one.
so sits - have mobile app running off new api , website running off old database.
how can go synchronizing data between 2 databases while front-end new website being developed?
i.e. when user makes use of app , later goes website, i'd data available , vice-versa.
solutions i've tried:
- i cannot use api update new database because trigger activation emails users have been activated.
- i've tried use peewee create synchronization script each field in 1 database mapped field in other database. has been effective tables schema similar i've had trouble when comes keeping foreign key relationships in tact.
Comments
Post a Comment