We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06c5b07 commit e7328c5Copy full SHA for e7328c5
store/backend/manage.py
@@ -5,6 +5,7 @@
5
import os
6
7
import click
8
+import sqlalchemy as sa
9
from flask_migrate import Migrate
10
11
from neurostore.core import app, db
@@ -91,7 +92,7 @@ def backfill_note_keys(limit, dry_run):
91
92
ids_sql = """
93
SELECT id
94
FROM annotations
- WHERE note_keys IS NULL OR note_keys = '{}'::jsonb
95
+ WHERE note_keys IS NULL OR note_keys::text = '{}'
96
ORDER BY created_at
97
"""
98
if limit:
0 commit comments