File tree Expand file tree Collapse file tree 1 file changed +16
-34
lines changed
Expand file tree Collapse file tree 1 file changed +16
-34
lines changed Original file line number Diff line number Diff line change @@ -138,43 +138,25 @@ export class SupabaseCachingService extends BaseSupabaseService<CachingDatabase>
138138 case "fractions_view" :
139139 return this . db . selectFrom ( "fractions_view" ) . selectAll ( ) ;
140140 case "metadata" :
141- // Skip the image column
142- // 1. id
143- // 2. name
144- // 3. description
145- // 4. image
146- // 5. external_url
147- // 6. work_scope
148- // 7. work_timeframe_from
149- // 8. work_timeframe_to
150- // 9. impact_scope
151- // 10. impact_timeframe_from
152- // 11. impact_timeframe_to
153- // 12. contributors
154- // 13. rights
155- // 14. uri
156- // 15. properties
157- // 16. allow_list_uri
158- // 17. parsed
159141 return this . db
160142 . selectFrom ( "metadata" )
161143 . select ( [
162- "id" ,
163- "name" ,
164- "description" ,
165- "external_url" ,
166- "work_scope" ,
167- "work_timeframe_from" ,
168- "work_timeframe_to" ,
169- "impact_scope" ,
170- "impact_timeframe_from" ,
171- "impact_timeframe_to" ,
172- "contributors" ,
173- "rights" ,
174- "uri" ,
175- "properties" ,
176- "allow_list_uri" ,
177- "parsed" ,
144+ "metadata. id" ,
145+ "metadata. name" ,
146+ "metadata. description" ,
147+ "metadata. external_url" ,
148+ "metadata. work_scope" ,
149+ "metadata. work_timeframe_from" ,
150+ "metadata. work_timeframe_to" ,
151+ "metadata. impact_scope" ,
152+ "metadata. impact_timeframe_from" ,
153+ "metadata. impact_timeframe_to" ,
154+ "metadata. contributors" ,
155+ "metadata. rights" ,
156+ "metadata. uri" ,
157+ "metadata. properties" ,
158+ "metadata. allow_list_uri" ,
159+ "metadata. parsed" ,
178160 ] )
179161 . $if ( args . where ?. hypercerts , ( qb ) =>
180162 qb . innerJoin ( "claims" , "claims.uri" , "metadata.uri" ) ,
You can’t perform that action at this time.
0 commit comments