diff options
Diffstat (limited to 'OpenSim/Data/Migration.cs')
-rw-r--r-- | OpenSim/Data/Migration.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Data/Migration.cs b/OpenSim/Data/Migration.cs index fe4dfc4..83f4c3d 100644 --- a/OpenSim/Data/Migration.cs +++ b/OpenSim/Data/Migration.cs | |||
@@ -156,6 +156,12 @@ namespace OpenSim.Data | |||
156 | return max; | 156 | return max; |
157 | } | 157 | } |
158 | 158 | ||
159 | public int Version | ||
160 | { | ||
161 | get { return FindVersion(_type); } | ||
162 | set { UpdateVersion(_type, value); } | ||
163 | } | ||
164 | |||
159 | private int FindVersion(string type) | 165 | private int FindVersion(string type) |
160 | { | 166 | { |
161 | int version = 0; | 167 | int version = 0; |