Changes between Version 1 and Version 2 of DeveloperGuidelines/DatabaseSynchronization
- Timestamp:
- 12/24/08 02:25:17 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/DatabaseSynchronization
v1 v2 4 4 All tables which should be replicated need 2 fields: 5 5 {{{ 6 SQLField('modified_on','datetime',default=now), # Needed for T2's conflict detection anyway6 SQLField('modified_on','datetime',default=now), # Also needed for T2's conflict detection anyway 7 7 SQLField('uuid',length=64,default=uuid.uuid4()), 8 8 }}} 9 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 10 This functionality needs to be developed further: 11 * BluePrintSynchronisation 17 12 18 13 ----