Changeset 9c6654ecbd940b2a63c2f93c5a7ea660a4c2bda4

Show
Ignore:
Timestamp:
03/17/07 15:29:24 (1 year ago)
Author:
Christopher Jung <bktheg@web.de>
git-committer:
Christopher Jung <bktheg@web.de> 1174141764 +0100
git-parent:

[b7677991e94fd33703d2990de9d86bbec38e4b2d]

git-author:
Christopher Jung <bktheg@web.de> 1174141764 +0100
Message:

FK-Constraint fuer survey_entries.survey_id eingebaut

Files:

Legend:

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

    r425acaa r9c6654e  
    99) ENGINE=InnoDB DEFAULT CHARSET=utf8;  
    1010 
     11ALTER TABLE survey_entries ADD CONSTRAINT survey_entries_fk_surveys FOREIGN KEY (survey_id) REFERENCES surveys(id); 
     12 
    1113INSERT INTO `survey_entries` (`id`, `survey_id`, `name`, `type`, `params`) VALUES (1, 1, 'Das momentane Loadout ist recht knapp bemessen - der Neukolonist muss zunaechst 3 Ticks Daeumchen drehen, bevor er was forschen kann und muss nach der ersten Forschung lange warten, bis er genug Silizium fuer eine weitere hat.\r\nDer zweite Punkt ist der Mangel an Plastik - wer es verpeilt, gleich eine entsprechende Fabrik zu bauen, kommt auch in Bedraengnis.\r\nAbhilfe koennte man schaffen, indem man die Startressourcen etwas verbessert und die vorhandenen Laderaeume etwas besser nutzt.\r\nUran - anfangs auch recht knapp - waere die dritte Ressource, die man anheben koennte.\r\n\r\nTerranisches Startset (bisher):\r\nTantalos [img]http://ds.drifting-souls.net/data/resources/Kunststoffe.gif[/img]850 [img]http://ds.drifting-souls.net/data/resources/Titan.gif[/img]1.100 [img]http://ds.drifting-souls.net/data/resources/Uran.gif[/img]140 [img]http://ds.drifting-souls.net/data/resources/Adamatium.gif[/img]100 [img]http://ds.drifting-souls.net/data/resources/Platin.gif[/img]200 [img]http://ds.drifting-souls.net/data/resources/Silizium.gif[/img]200 [img]http://ds.drifting-souls.net/data/interface/leer.gif[/img]910\r\nTriton   [img]http://ds.drifting-souls.net/data/resources/Uran.gif[/img]50 [img]http://ds.drifting-souls.net/data/interface/leer.gif[/img]550                                                                                                                                                                                                                                                                                                                                                              \r\nZephyrus [img]http://ds.drifting-souls.net/data/resources/Deuterium.gif[/img]300 [img]http://ds.drifting-souls.net/data/interface/leer.gif[/img]180                                                                                                                                                                                                                                                                                                                                                     \r\nVasudanisches Startset (bisher):\r\nTantalos [img]http://ds.drifting-souls.net/data/resources/Kunststoffe.gif[/img]850 [img]http://ds.drifting-souls.net/data/resources/Titan.gif[/img]1.100 [img]http://ds.drifting-souls.net/data/resources/Uran.gif[/img]140 [img]http://ds.drifting-souls.net/data/resources/Adamatium.gif[/img]100 [img]http://ds.drifting-souls.net/data/resources/Platin.gif[/img]200 [img]http://ds.drifting-souls.net/data/resources/Silizium.gif[/img]200 [img]http://ds.drifting-souls.net/data/interface/leer.gif[/img]910\r\nMa''at    [img]http://ds.drifting-souls.net/data/resources/Deuterium.gif[/img]60 [img]http://ds.drifting-souls.net/data/resources/Uran.gif[/img]50 [img]http://ds.drifting-souls.net/data/interface/leer.gif[/img]890                                                                                                                                                                                                                                                                                                 \r\nAnuket   [img]http://ds.drifting-souls.net/data/resources/Deuterium.gif[/img]240 [img]http://ds.drifting-souls.net/data/interface/leer.gif[/img]180                                                                                                                                                                                                                                                                                                                                                                \r\n\r\n', 'description', ''); 
    1214INSERT INTO `survey_entries` (`id`, `survey_id`, `name`, `type`, `params`) VALUES (2, 1, 'Bitte in die nebenstehende Box Deine Meinung dazu schreiben.\r\n\r\nAnmerkung: Die Admins koennen bei einer Umfrage nur lesen, was geschrieben wurde, aber nicht von wem - das wird nicht gespeichert.', 'textbox', ''); 
  • db/updates.xml

    rb767799 r9c6654e  
    197197                ALTER TABLE stats_module_locations ADD CONSTRAINT stats_module_locations_fk_user_id FOREIGN KEY (user_id) REFERENCES users(id); 
    198198                ALTER TABLE stats_user_cargo ADD CONSTRAINT stats_user_cargo_fk_user_id FOREIGN KEY (user_id) REFERENCES users(id); 
     199                ALTER TABLE survey_entries ADD CONSTRAINT survey_entries_fk_surveys FOREIGN KEY (survey_id) REFERENCES surveys(id); 
    199200        ]]></update> 
    200201</updates>