diff --git a/sql/sqlite_convert_dt_to_unix.sql b/sql/sqlite_convert_dt_to_unix.sql new file mode 100644 index 0000000..71f975d --- /dev/null +++ b/sql/sqlite_convert_dt_to_unix.sql @@ -0,0 +1,2 @@ +UPDATE locations SET dt=strftime('%s', dt) WHERE typeof(dt)='text'; +VACUUM;