diff options
author | onefang | 2019-05-19 21:24:15 +1000 |
---|---|---|
committer | onefang | 2019-05-19 21:24:15 +1000 |
commit | 5e4d6cab00cb29cd088ab7b62ab13aff103b64cb (patch) | |
tree | a9fbc62df9eb2d1d9ba2698d8552eae71eca20d8 /OpenSim/Data/MySQL/Resources/Avatar.migrations | |
parent | Add a build script. (diff) | |
download | opensim-SC_OLD-5e4d6cab00cb29cd088ab7b62ab13aff103b64cb.zip opensim-SC_OLD-5e4d6cab00cb29cd088ab7b62ab13aff103b64cb.tar.gz opensim-SC_OLD-5e4d6cab00cb29cd088ab7b62ab13aff103b64cb.tar.bz2 opensim-SC_OLD-5e4d6cab00cb29cd088ab7b62ab13aff103b64cb.tar.xz |
Dump OpenSim 0.9.0.1 into it's own branch.
Diffstat (limited to 'OpenSim/Data/MySQL/Resources/Avatar.migrations')
-rw-r--r-- | OpenSim/Data/MySQL/Resources/Avatar.migrations | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/OpenSim/Data/MySQL/Resources/Avatar.migrations b/OpenSim/Data/MySQL/Resources/Avatar.migrations index f7cf176..c5ec9ca 100644 --- a/OpenSim/Data/MySQL/Resources/Avatar.migrations +++ b/OpenSim/Data/MySQL/Resources/Avatar.migrations | |||
@@ -1,20 +1,13 @@ | |||
1 | :VERSION 1 | 1 | :VERSION 3 |
2 | 2 | ||
3 | BEGIN; | 3 | BEGIN; |
4 | 4 | ||
5 | CREATE TABLE Avatars ( | 5 | CREATE TABLE IF NOT EXISTS `Avatars` ( |
6 | PrincipalID CHAR(36) NOT NULL, | 6 | `PrincipalID` char(36) NOT NULL, |
7 | Name VARCHAR(32) NOT NULL, | 7 | `Name` varchar(32) NOT NULL, |
8 | Value VARCHAR(255) NOT NULL DEFAULT '', | 8 | `Value` text, |
9 | PRIMARY KEY(PrincipalID, Name), | 9 | PRIMARY KEY (`PrincipalID`,`Name`), |
10 | KEY(PrincipalID)); | 10 | KEY `PrincipalID` (`PrincipalID`) |
11 | 11 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; | |
12 | COMMIT; | ||
13 | |||
14 | :VERSION 2 | ||
15 | |||
16 | BEGIN; | ||
17 | |||
18 | alter table Avatars change column Value Value text; | ||
19 | 12 | ||
20 | COMMIT; | 13 | COMMIT; |