Changes between Initial Version and Version 1 of DeveloperGuidelines/DatabaseSynchronization


Ignore:
Timestamp:
12/24/08 01:00:49 (13 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/DatabaseSynchronization

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