diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteRegionData.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteRegionData.cs b/OpenSim/Data/SQLite/SQLiteRegionData.cs index c6cd08f..c87d2e3 100644 --- a/OpenSim/Data/SQLite/SQLiteRegionData.cs +++ b/OpenSim/Data/SQLite/SQLiteRegionData.cs | |||
@@ -859,7 +859,7 @@ namespace OpenSim.Data.SQLite | |||
859 | // click action | 859 | // click action |
860 | createCol(prims, "ClickAction", typeof (Byte)); | 860 | createCol(prims, "ClickAction", typeof (Byte)); |
861 | 861 | ||
862 | createCol(prims, "Material", typeof(Int32)); | 862 | createCol(prims, "Material", typeof(Byte)); |
863 | 863 | ||
864 | // Add in contraints | 864 | // Add in contraints |
865 | prims.PrimaryKey = new DataColumn[] {prims.Columns["UUID"]}; | 865 | prims.PrimaryKey = new DataColumn[] {prims.Columns["UUID"]}; |
@@ -1535,6 +1535,7 @@ namespace OpenSim.Data.SQLite | |||
1535 | row["ClickAction"] = prim.ClickAction; | 1535 | row["ClickAction"] = prim.ClickAction; |
1536 | 1536 | ||
1537 | row["SalePrice"] = prim.SalePrice; | 1537 | row["SalePrice"] = prim.SalePrice; |
1538 | row["Material"] = prim.Material; | ||
1538 | } | 1539 | } |
1539 | 1540 | ||
1540 | /// <summary> | 1541 | /// <summary> |