[ticket/17528] Review code fix

PHPBB-17528
This commit is contained in:
rxu 2025-07-13 14:52:42 +07:00
parent b9dbce21f7
commit 40cd938e51
No known key found for this signature in database
GPG key ID: 955F0567380E586A

View file

@ -95,7 +95,7 @@ class postgresql_platform extends PostgreSQLPlatform
{
$sequence = new Sequence($this->getIdentitySequenceName($table_name, $column_name));
$sequence_sql[] = $this->getCreateSequenceSQL($sequence);
$post_sql[] = 'ALTER SEQUENCE '.$sequence->getName().' OWNED BY ' . $table_name . '.' . $column_name;
$post_sql[] = 'ALTER SEQUENCE ' . $sequence->getName() . ' OWNED BY ' . $table_name . '.' . $column_name;
}
}
$sql = array_merge($sequence_sql, $sql, $post_sql);