diff --git a/main b/main new file mode 100755 index 000000000..297ad8dfc Binary files /dev/null and b/main differ diff --git a/store/db/postgres/memo_filter_test.go b/store/db/postgres/memo_filter_test.go index 30f2c69e1..2f7c80ef3 100644 --- a/store/db/postgres/memo_filter_test.go +++ b/store/db/postgres/memo_filter_test.go @@ -92,7 +92,7 @@ func TestConvertExprToSQL(t *testing.T) { }, { filter: `created_ts > now() - 60 * 60 * 24`, - want: "EXTRACT(EPOCH FROM memo.created_ts) > $1", + want: "EXTRACT(EPOCH FROM TO_TIMESTAMP(memo.created_ts)) > $1", args: []any{time.Now().Unix() - 60*60*24}, }, {