Simple.Migrations package throwing error using postgres

-1

I am trying to use Simple.Migrations package.I am using the example mentioned in their page https://github.com/canton7/Simple.Migrations and trying to conenct to postgres db .Its throwing below exceptions when running migrator.Load() Unhandled exception. Npgsql.PostgresException (0x80004005): 42601: syntax error at or near "sp_getapplock" at Npgsql.NpgsqlConnector.<>c__DisplayClass160_0.<g__ReadMessageLong|0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Npgsql.NpgsqlConnector.<>c__DisplayClass160_0.<g__ReadMessageLong|0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming) at Npgsql.NpgsqlDataReader.NextResult()

database-migration
asked on Stack Overflow Mar 13, 2020 by varun kumar

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0