Changes between Initial Version and Version 1 of DeveloperGuidelines/DatabaseSynchronization
- Timestamp:
- 12/24/08 01:00:49 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/DatabaseSynchronization
v1 v1 1 DeveloperGuidelines 2 3 == Database Synchronization == 4 All tables which should be replicated need 2 fields: 5 {{{ 6 SQLField('modified_on','datetime',default=now), # Needed for T2's conflict detection anyway 7 SQLField('uuid',length=64,default=uuid.uuid4()), 8 }}} 9 10 11 Export tables as CSV: 12 13 Need clear list of which tables to include - e.g. not lookup lists which are the same across sites, not GIS_keys 14 15 Import tables at the other end: 16 17 18 ---- 19 20 DeveloperGuidelines