mirror of
https://github.com/dimitri/pgloader.git
synced 2026-05-04 18:36:12 +02:00
Fix MS SQL index names.
As MS SQL index names may contain dots, replace dots with underscores. That should fix #158 once again.
This commit is contained in:
parent
95961a42b8
commit
3e5115c493
@ -168,7 +168,7 @@ order by table_schema, table_name, ordinal_position"
|
||||
:in (mssql-query (format nil "
|
||||
select schema_name(schema_id) as SchemaName,
|
||||
o.name as TableName,
|
||||
i.name as IndexName,
|
||||
REPLACE(i.name, '.', '_') as IndexName,
|
||||
co.[name] as ColumnName,
|
||||
i.is_unique,
|
||||
i.is_primary_key
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user