gcivil-nyu-org / spring2020-cs-gy-9223-class

2 stars 14 forks source link

Backend/feature/symmetric conflict #599

Closed VentusXu09 closed 4 years ago

VentusXu09 commented 4 years ago

Title

Add resolution for symmetricDS conflict

Description

182

The symmetricDS will choose the latest updated data to insert/update when conflicts happen. Add create/update timestamp column into agsensor, agsensortype, agvenue and agevent. The create/update timestamp will be created/updated by django automatically.

Types of Changes

Put an x in the boxes that apply

Checklist

VentusXu09 commented 4 years ago

Get pain on models.DateTimeField(auto_now=True). Please see this discussion for more details.

Waiting for #181 solved to try USE_PK as detect_type.