summaryrefslogtreecommitdiff
path: root/app/models/packages/npm.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/packages/npm.rb')
-rw-r--r--app/models/packages/npm.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/packages/npm.rb b/app/models/packages/npm.rb
index e49199d911c..9221187d92a 100644
--- a/app/models/packages/npm.rb
+++ b/app/models/packages/npm.rb
@@ -9,5 +9,9 @@ module Packages
package_name.match(Gitlab::Regex.npm_package_name_regex)&.captures&.first
end
+
+ def self.table_name_prefix
+ 'packages_npm_'
+ end
end
end