Try to migrate to timestamp in DB

Signed-off-by: Atanas Kerezov <kerezov.atanas@gmail.com>