X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=sync.pl;h=178866de7d438812b473d25c59ba5773c574b54a;hb=6e223b94f62742c179d7f89124d9203f3d49aa48;hp=965b6e83a606cf8d3daeeca54de7ed9816aeb7d5;hpb=85aad5a8139585bbf96ddbccbac224c71949fc1a;p=wloh diff --git a/sync.pl b/sync.pl index 965b6e8..178866d 100755 --- a/sync.pl +++ b/sync.pl @@ -65,5 +65,8 @@ sync_table($mdbh, $sdbh, 'Fotballspraak'); sync_table($mdbh, $sdbh, 'Fotballtoppti'); sync_table($mdbh, $sdbh, 'Fotballvariabler'); +$sdbh->do('DELETE FROM last_sync'); +$sdbh->do('INSERT INTO last_sync VALUES ( CURRENT_TIMESTAMP );'); + $mdbh->rollback(); $sdbh->commit();