mirror of
https://github.com/dimitri/pgloader.git
synced 2025-08-07 23:07:00 +02:00
Handle non-standard schemas when looking up identity column
This commit is contained in:
parent
f25f1b659c
commit
eea32979d7
@ -28,7 +28,7 @@
|
||||
ELSE c.COLUMN_DEFAULT
|
||||
END,
|
||||
c.IS_NULLABLE,
|
||||
COLUMNPROPERTY(object_id(c.TABLE_NAME), c.COLUMN_NAME, 'IsIdentity'),
|
||||
COLUMNPROPERTY(object_id(CONCAT(c.TABLE_SCHEMA, '.', c.TABLE_NAME)), c.COLUMN_NAME, 'IsIdentity'),
|
||||
c.CHARACTER_MAXIMUM_LENGTH,
|
||||
c.NUMERIC_PRECISION,
|
||||
c.NUMERIC_PRECISION_RADIX,
|
||||
|
Loading…
Reference in New Issue
Block a user