Skip to content
Snippets Groups Projects

Add simple dropdown component and change severity filter to use it

5 unresolved threads
3 files
+ 47
1
Compare changes
  • Side-by-side
  • Inline
Files
3
  • This fixes the issue where we attempt to truncate tables that are
    referenced from such detached partition tables.
    
    Note: Postgresql::DetachedPartition is a shared model
    
    So we need to specify the connection it is used in so that we correctly
    create a Postgresql::DetachedPartition in each database.
    
    Changelog: fixed
@@ -7,5 +7,9 @@ class DetachedPartition < ::Gitlab::Database::SharedModel
@@ -7,5 +7,9 @@ class DetachedPartition < ::Gitlab::Database::SharedModel
def fully_qualified_table_name
def fully_qualified_table_name
"#{Gitlab::Database::DYNAMIC_PARTITIONS_SCHEMA}.#{table_name}"
"#{Gitlab::Database::DYNAMIC_PARTITIONS_SCHEMA}.#{table_name}"
end
end
 
 
def table_schema
 
Gitlab::Database::GitlabSchema.table_schema(table_name)
 
end
end
end
end
end
Loading