mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-13 12:22:03 +02:00
Merge pull request #4268 from marc1706/ticket/14532
[ticket/14532] Do not escape column default in mssql * marc1706/ticket/14532: [ticket/14532] Do not escape column default in mssql
This commit is contained in:
commit
a2f517fb38
@ -2340,7 +2340,7 @@ class tools
|
||||
if (!empty($column_data['default']))
|
||||
{
|
||||
// Add new default value constraint
|
||||
$statements[] = 'ALTER TABLE [' . $table_name . '] ADD CONSTRAINT [DF_' . $table_name . '_' . $column_name . '_1] ' . $this->db->sql_escape($column_data['default']) . ' FOR [' . $column_name . ']';
|
||||
$statements[] = 'ALTER TABLE [' . $table_name . '] ADD CONSTRAINT [DF_' . $table_name . '_' . $column_name . '_1] ' . $column_data['default'] . ' FOR [' . $column_name . ']';
|
||||
}
|
||||
|
||||
if (!empty($indexes))
|
||||
|
Loading…
x
Reference in New Issue
Block a user