eppye-bots / bots

Automatically exported from code.google.com/p/bots
66 stars 126 forks source link

for persist: timestamp on update #254

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
when persist information is updated, set the timestamp (timestamp on update).
either via database trigger (dis: more database specific code)
or via apllication logic (Mike reports: not as easy as it seems)

Original issue reported on code.google.com by hjebb...@gmail.com on 9 Sep 2013 at 4:19

GoogleCodeExporter commented 9 years ago
AFAIK can not be done via django.
added to wiki that this is needed, esp for MySQL and postgreSQL.
Added trigger manually to SQLite database.
Also:
timestamp for SQLite was in UTC-time. Changed this to local time (as is used 
elsewhere).

Original comment by hjebb...@gmail.com on 14 Feb 2014 at 4:27

GoogleCodeExporter commented 9 years ago

Original comment by hjebb...@gmail.com on 10 Sep 2014 at 2:44

GoogleCodeExporter commented 9 years ago
Solved this in transform.py (was easy!)

Original comment by mjg1964 on 2 Apr 2015 at 1:32

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by hjebb...@gmail.com on 20 May 2015 at 8:44