pgsql : fix asset store and a cast on estate

This commit is contained in:
UbitUmarov
2024-05-15 22:35:43 +01:00
parent 561eb73a1d
commit 62ce9c1ba8
2 changed files with 1 additions and 3 deletions

View File

@@ -295,7 +295,7 @@ namespace OpenSim.Data.PGSQL
using (NpgsqlCommand cmd = new NpgsqlCommand(sql, conn))
{
NpgsqlParameter idParameter = new NpgsqlParameter("EstateID", DbType.Int32);
idParameter.Value = es.EstateID;
idParameter.Value = (int)es.EstateID;
cmd.Parameters.Add(idParameter);
conn.Open();
using (NpgsqlDataReader reader = cmd.ExecuteReader())

View File

@@ -102,8 +102,6 @@ COMMIT;
BEGIN TRANSACTION;
--# "creatorID" goes up to VARCHAR(128)
alter table assets
alter column "creatorID" type varchar(128);