Class: Postgresql::DetachedPartition

Inherits:
Gitlab::Database::SharedModel show all
Defined in:
app/models/postgresql/detached_partition.rb

Instance Method Summary collapse

Methods inherited from Gitlab::Database::SharedModel

connection, #connection_db_config, connection_pool, using_connection

Instance Method Details

#fully_qualified_table_nameObject



7
8
9
# File 'app/models/postgresql/detached_partition.rb', line 7

def fully_qualified_table_name
  "#{Gitlab::Database::DYNAMIC_PARTITIONS_SCHEMA}.#{table_name}"
end

#table_schemaObject



11
12
13
# File 'app/models/postgresql/detached_partition.rb', line 11

def table_schema
  Gitlab::Database::GitlabSchema.table_schema(table_name)
end