Changeset 8825186da57192b768ef1737599778a4c84a1776

Show
Ignore:
Timestamp:
05/05/07 14:40:29 (1 year ago)
Author:
Christopher Jung <bktheg@web.de>
git-committer:
Christopher Jung <bktheg@web.de> 1178368829 +0200
git-parent:

[cd77adf4ce331fbfadcbaa0f3fbc0e844d60d87f]

git-author:
Christopher Jung <bktheg@web.de> 1178368829 +0200
Message:

Einige SQL-Fehler behoben

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • db/tables/bases.sql

    r6af2de0 r8825186  
    1818  `maxtiles` smallint(6) NOT NULL default '0', 
    1919  `size` tinyint(3) unsigned NOT NULL default '0', 
    20   `terrain` text NOT NULL
    21   `bebauung` text NOT NULL
    22   `active` text NOT NULL
     20  `terrain` text NOT NULL default ''
     21  `bebauung` text NOT NULL default ''
     22  `active` text NOT NULL default ''
    2323  `coreactive` tinyint(3) unsigned NOT NULL default '0', 
    24   `autogtuacts` text NOT NULL
     24  `autogtuacts` text NOT NULL default ''
    2525  PRIMARY KEY  (`id`), 
    2626  KEY `owner` (`owner`,`id`), 
  • db/tables/users.sql

    r744d21c r8825186  
    3333  `destroyedShips` int(10) unsigned NOT NULL default '0', 
    3434  `lostShips` int(10) unsigned NOT NULL default '0', 
    35   `knownItems` text NOT NULL
     35  `knownItems` text NOT NULL default ''
    3636  PRIMARY KEY  (`id`), 
    3737  KEY `ally` (`ally`), 
  • db/updates.xml

    r858ed21 r8825186  
    252252                ALTER TABLE `ships` CHANGE `destcom` `destcom` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL default ''; 
    253253        ]]></update> 
     254        <update type="structure" datum="2007-05-05"><![CDATA[ 
     255                ALTER TABLE `bases` CHANGE `terrain` `terrain` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL default ''; 
     256                ALTER TABLE `bases` CHANGE `bebauung` `bebauung` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL default ''; 
     257                ALTER TABLE `bases` CHANGE `active` `active` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL default ''; 
     258                ALTER TABLE `bases` CHANGE `autogtuacts` `autogtuacts` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL default ''; 
     259                ALTER TABLE `users` CHANGE `knownItems` `knownItems` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL default ''; 
     260        ]]></update> 
    254261</updates>