Skip to content

Commit 7bfdaf5

Browse files
committed
refactor: 💡 Remove unused field and update comment
1 parent 487bda6 commit 7bfdaf5

File tree

2 files changed

+1
-3
lines changed
  • addons/api/addon/workers/utils
  • ui/admin/app/routes/scopes/scope/aliases

2 files changed

+1
-3
lines changed

‎addons/api/addon/workers/utils/schema.js‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ const createTargetTables = `
2525
);
2626
CREATE INDEX IF NOT EXISTS idx_target_scope_id_created_time ON target(scope_id, created_time DESC);
2727
28-
-- Create a contentless FTS table as we will only use the rowids.
29-
-- Note that this only creates the FTS index and cannot reference the target content
28+
-- Create a content FTS table that references the original table
3029
CREATE VIRTUAL TABLE IF NOT EXISTS target_fts USING fts5(
3130
id,
3231
type,

‎ui/admin/app/routes/scopes/scope/aliases/index.js‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ export default class ScopesScopeAliasesIndexRoute extends Route {
8383
relatedSearches: [
8484
{
8585
resource: 'target',
86-
text: search,
8786
fields: ['name'],
8887
join: {
8988
joinFrom: 'destination_id',

0 commit comments

Comments
 (0)