diff options
author | Justin Clarke Casey | 2008-05-01 13:27:40 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-05-01 13:27:40 +0000 |
commit | d72bdf432a622f237b3030c1da9d1bccca20f83c (patch) | |
tree | 80b72df740a2858ac9ca8c3707ef45ff81488f67 /OpenSim/Data/MySQL/Resources/UpgradeItemsTableToVersion3.sql | |
parent | * Change mysql inventory items table version 3 upgrade sql to provide explici... (diff) | |
download | opensim-SC-d72bdf432a622f237b3030c1da9d1bccca20f83c.zip opensim-SC-d72bdf432a622f237b3030c1da9d1bccca20f83c.tar.gz opensim-SC-d72bdf432a622f237b3030c1da9d1bccca20f83c.tar.bz2 opensim-SC-d72bdf432a622f237b3030c1da9d1bccca20f83c.tar.xz |
* Align new fields upgrade sql to have the same 'not null' and default settings as when an inventoryitems table is newly created
* Normalize logging titles in database code, though this doesn't yet cover invoking code
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/MySQL/Resources/UpgradeItemsTableToVersion3.sql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Data/MySQL/Resources/UpgradeItemsTableToVersion3.sql b/OpenSim/Data/MySQL/Resources/UpgradeItemsTableToVersion3.sql index 5bd6994..b4108ab 100644 --- a/OpenSim/Data/MySQL/Resources/UpgradeItemsTableToVersion3.sql +++ b/OpenSim/Data/MySQL/Resources/UpgradeItemsTableToVersion3.sql | |||
@@ -1,7 +1,7 @@ | |||
1 | ALTER TABLE `inventoryitems` | 1 | ALTER TABLE `inventoryitems` |
2 | ADD COLUMN `salePrice` int(11) NOT NULL default 0, | 2 | ADD COLUMN `salePrice` int(11) NOT NULL default 0, |
3 | ADD COLUMN `saleType` tinyint(4) NOT NULL default 0, | 3 | ADD COLUMN `saleType` tinyint(4) NOT NULL default 0, |
4 | ADD COLUMN `creationDate` int(11) NOT NULL default 3000, | 4 | ADD COLUMN `creationDate` int(11) NOT NULL default 0, |
5 | ADD COLUMN `groupID` varchar(36) NOT NULL default '00000000-0000-0000-0000-000000000000', | 5 | ADD COLUMN `groupID` varchar(36) NOT NULL default '00000000-0000-0000-0000-000000000000', |
6 | ADD COLUMN `groupOwned` tinyint(4) NOT NULL default 0, | 6 | ADD COLUMN `groupOwned` tinyint(4) NOT NULL default 0, |
7 | ADD COLUMN `flags` int(11) unsigned NOT NULL default 0, | 7 | ADD COLUMN `flags` int(11) unsigned NOT NULL default 0, |