Skip to content

Commit 6720ed6

Browse files
committed
Match all users.json file in userdb
1 parent 56877b3 commit 6720ed6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dbschema.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"to_json_table": [ "cert_auth_type", "cert_user_id" ],
88
"to_table": ["user"]
99
},
10-
".+/data/userdb/users.json": {
10+
".+/data/userdb/users.*json": {
1111
"to_table": ["user"]
1212
},
1313
".+/data/users/.+/content.json": {
@@ -103,4 +103,4 @@
103103
"Posts": "SELECT 'post' AS type, post.date_added AS date_added, 'In ' || json.user_name || \"'s post\" AS title, post.body AS body, '?Post/' || json.site || '/' || REPLACE(json.directory, 'data/users/', '') || '/' || post_id AS url FROM post LEFT JOIN json USING (json_id)",
104104
"Comments": "SELECT 'comment' AS type, comment.date_added AS date_added, 'a post' AS title, '@' || user_name || ': ' || comment.body AS body, '?Post/' || json.site || '/' || REPLACE(post_uri, '_', '/') AS url FROM comment LEFT JOIN json USING (json_id)"
105105
}
106-
}
106+
}

0 commit comments

Comments
 (0)