You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm using a SQL Server instance with version 12.0.6024 and i'm getting an error:
SQLSTATE[42000]: [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]'string_agg' is not a recognized built-in function name. (Connection: sistema_sal, SQL: select idx.name as name, string_agg(col.name, ',') within group (order by idxcol.key_ordinal) as columns, idx.type_desc as [type], idx.is_unique as [unique], idx.is_primary_key as [primary] from sys.indexes as idx join sys.tables as tbl on idx.object_id = tbl.object_id join sys.schemas as scm on tbl.schema_id = scm.schema_id join sys.index_columns as idxcol on idx.object_id = idxcol.object_id and idx.index_id = idxcol.index_id join sys.columns as col on idxcol.object_id = col.object_id and idxcol.column_id = col.column_id where tbl.name = N'_LOGG' and scm.name = schema_name() group by idx.name, idx.type_desc, idx.is_unique, idx.is_primary_key)
Describe the bug
I'm using a SQL Server instance with version 12.0.6024 and i'm getting an error:
SQLSTATE[42000]: [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]'string_agg' is not a recognized built-in function name. (Connection: sistema_sal, SQL: select idx.name as name, string_agg(col.name, ',') within group (order by idxcol.key_ordinal) as columns, idx.type_desc as [type], idx.is_unique as [unique], idx.is_primary_key as [primary] from sys.indexes as idx join sys.tables as tbl on idx.object_id = tbl.object_id join sys.schemas as scm on tbl.schema_id = scm.schema_id join sys.index_columns as idxcol on idx.object_id = idxcol.object_id and idx.index_id = idxcol.index_id join sys.columns as col on idxcol.object_id = col.object_id and idxcol.column_id = col.column_id where tbl.name = N'_LOGG' and scm.name = schema_name() group by idx.name, idx.type_desc, idx.is_unique, idx.is_primary_key)
To Reproduce
php artisan migrate:generate --connection="legacy_system" --squash --default-index-names --default-fk-names --skip-log --with-has-table --skip-proc --skip-views
Expected behavior
Created Migrations from SQL Server database
Details (please complete the following information):
"kitloong/laravel-migrations-generator": "^7.0", - v7.0.6
The text was updated successfully, but these errors were encountered: