aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-core')
-rw-r--r--sonar-core/src/main/java/org/sonar/core/persistence/PreviewDatabaseFactory.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/persistence/PreviewDatabaseFactory.java b/sonar-core/src/main/java/org/sonar/core/persistence/PreviewDatabaseFactory.java
index 9e597b79d59..a61f4d8f081 100644
--- a/sonar-core/src/main/java/org/sonar/core/persistence/PreviewDatabaseFactory.java
+++ b/sonar-core/src/main/java/org/sonar/core/persistence/PreviewDatabaseFactory.java
@@ -85,15 +85,12 @@ public class PreviewDatabaseFactory implements ServerComponent {
private void copy(DataSource source, DataSource dest, @Nullable Long projectId) {
DbTemplate template = new DbTemplate(profiling);
template
- .copyTable(source, dest, "active_rules")
- .copyTable(source, dest, "active_rule_parameters")
.copyTable(source, dest, "characteristics")
.copyTable(source, dest, "permission_templates")
.copyTable(source, dest, "perm_templates_users")
.copyTable(source, dest, "perm_templates_groups")
.copyTable(source, dest, "rules")
.copyTable(source, dest, "rules_parameters")
- .copyTable(source, dest, "rules_profiles")
.copyTableColumns(source, dest, "users", new String[] {"id", "login", "name", "active"});
if (projectId != null) {
template.copyTable(source, dest, "projects", projectQuery(projectId, false));