remove sequel extension from root post_repo

This commit is contained in:
2024-02-23 18:01:59 +11:00
parent 1188ac8ff7
commit 507addb470

View File

@@ -1,9 +1,6 @@
module Adamantium module Adamantium
module Repos module Repos
class PostRepo < Adamantium::Repo[:posts] class PostRepo < Adamantium::Repo[:posts]
Sequel.extension :pg_json
Sequel.extension :pg_json_ops
def for_reminders(limit:) def for_reminders(limit:)
posts posts
.where(post_type: "bookmark", is_read: false) .where(post_type: "bookmark", is_read: false)