--- /dev/null
+--
+-- Änderungen an der Datenstruktur
+--
+
+--
+-- $Id$
+-- $URL$
+--
+
+-- ----------------------------------------------------------------------------------
+-- Tabelle `autoren` aufmotzen.
+
+ALTER TABLE `autoren`
+ ADD `created_at` datetime,
+ ADD `created_by` int(10) unsigned,
+ ADD `changed_at` datetime,
+ ADD `changed_by` int(10) unsigned,
+ ADD KEY `created_by` (`created_by`),
+ ADD KEY `changed_by` (`changed_by`),
+ ADD CONSTRAINT `autoren_ibfk_1` FOREIGN KEY (`created_by`) REFERENCES `users` (`user_id`),
+ ADD CONSTRAINT `autoren_ibfk_2` FOREIGN KEY (`changed_by`) REFERENCES `users` (`user_id`);
+
+UPDATE `autoren` SET
+ `created_at` = NOW(),
+ `created_by` = 1,
+ `changed_at` = NOW(),
+ `changed_by` = 1;
+
+COMMIT;
+
+ALTER TABLE `autoren`
+ MODIFY `created_at` datetime NOT NULL COMMENT 'Wann erstellt',
+ MODIFY `created_by` int(10) unsigned NOT NULL COMMENT 'Von welcher User-Id erstellt',
+ MODIFY `changed_at` datetime NOT NULL COMMENT 'Wann geändert',
+ MODIFY `changed_by` int(10) unsigned NOT NULL COMMENT 'Von welcher User-Id geändert';
+
+-- ----------------------------------------------------------------------------------
+-- Tabelle `buecher` aufmotzen.
+
+
+ALTER TABLE `buecher`
+ ADD `notes` text COMMENT 'Anmerkungen',
+ ADD `created_at` datetime,
+ ADD `created_by` int(10) unsigned,
+ ADD `changed_at` datetime,
+ ADD `changed_by` int(10) unsigned,
+ ADD KEY `created_by` (`created_by`),
+ ADD KEY `changed_by` (`changed_by`),
+ ADD CONSTRAINT `buecher_ibfk_5` FOREIGN KEY (`created_by`) REFERENCES `users` (`user_id`),
+ ADD CONSTRAINT `buecher_ibfk_6` FOREIGN KEY (`changed_by`) REFERENCES `users` (`user_id`);
+
+UPDATE `buecher` SET
+ `created_at` = NOW(),
+ `created_by` = 1,
+ `changed_at` = NOW(),
+ `changed_by` = 1;
+
+COMMIT;
+
+ALTER TABLE `buecher`
+ MODIFY `created_at` datetime NOT NULL COMMENT 'Wann erstellt',
+ MODIFY `created_by` int(10) unsigned NOT NULL COMMENT 'Von welcher User-Id erstellt',
+ MODIFY `changed_at` datetime NOT NULL COMMENT 'Wann geändert',
+ MODIFY `changed_by` int(10) unsigned NOT NULL COMMENT 'Von welcher User-Id geändert';
+
+-- ----------------------------------------------------------------------------------
+
+-- vim: noai : ts=4 fenc=utf-8 filetype=sql expandtab :
--- /dev/null
+--
+-- Änderungen an der Datenstruktur
+--
+
+--
+-- $Id$
+-- $URL$
+--
+
+-- ----------------------------------------------------------------------------------
+-- Tabelle `kategorien` aufmotzen.
+
+ALTER TABLE `kategorien`
+ ADD `created_at` datetime,
+ ADD `created_by` int(10) unsigned,
+ ADD `changed_at` datetime,
+ ADD `changed_by` int(10) unsigned,
+ ADD KEY `created_by` (`created_by`),
+ ADD KEY `changed_by` (`changed_by`),
+ ADD CONSTRAINT `kategorien_ibfk_1` FOREIGN KEY (`created_by`) REFERENCES `users` (`user_id`),
+ ADD CONSTRAINT `kategorien_ibfk_2` FOREIGN KEY (`changed_by`) REFERENCES `users` (`user_id`);
+
+UPDATE `kategorien` SET
+ `created_at` = NOW(),
+ `created_by` = 1,
+ `changed_at` = NOW(),
+ `changed_by` = 1;
+
+COMMIT;
+
+ALTER TABLE `kategorien`
+ MODIFY `created_at` datetime NOT NULL COMMENT 'Wann erstellt',
+ MODIFY `created_by` int(10) unsigned NOT NULL COMMENT 'Von welcher User-Id erstellt',
+ MODIFY `changed_at` datetime NOT NULL COMMENT 'Wann geändert',
+ MODIFY `changed_by` int(10) unsigned NOT NULL COMMENT 'Von welcher User-Id geändert';
+
+-- ----------------------------------------------------------------------------------
+-- Tabelle `orte` aufmotzen.
+
+ALTER TABLE `orte`
+ ADD `created_at` datetime,
+ ADD `created_by` int(10) unsigned,
+ ADD `changed_at` datetime,
+ ADD `changed_by` int(10) unsigned,
+ ADD KEY `created_by` (`created_by`),
+ ADD KEY `changed_by` (`changed_by`),
+ ADD CONSTRAINT `orte_ibfk_1` FOREIGN KEY (`created_by`) REFERENCES `users` (`user_id`),
+ ADD CONSTRAINT `orte_ibfk_2` FOREIGN KEY (`changed_by`) REFERENCES `users` (`user_id`);
+
+UPDATE `orte` SET
+ `created_at` = NOW(),
+ `created_by` = 1,
+ `changed_at` = NOW(),
+ `changed_by` = 1;
+
+COMMIT;
+
+ALTER TABLE `orte`
+ MODIFY `created_at` datetime NOT NULL COMMENT 'Wann erstellt',
+ MODIFY `created_by` int(10) unsigned NOT NULL COMMENT 'Von welcher User-Id erstellt',
+ MODIFY `changed_at` datetime NOT NULL COMMENT 'Wann geändert',
+ MODIFY `changed_by` int(10) unsigned NOT NULL COMMENT 'Von welcher User-Id geändert';
+
+-- ----------------------------------------------------------------------------------
+-- Tabelle `serien` aufmotzen.
+
+ALTER TABLE `serien`
+ ADD `created_at` datetime,
+ ADD `created_by` int(10) unsigned,
+ ADD `changed_at` datetime,
+ ADD `changed_by` int(10) unsigned,
+ ADD KEY `created_by` (`created_by`),
+ ADD KEY `changed_by` (`changed_by`),
+ ADD CONSTRAINT `serien_ibfk_1` FOREIGN KEY (`created_by`) REFERENCES `users` (`user_id`),
+ ADD CONSTRAINT `serien_ibfk_2` FOREIGN KEY (`changed_by`) REFERENCES `users` (`user_id`);
+
+UPDATE `serien` SET
+ `created_at` = NOW(),
+ `created_by` = 1,
+ `changed_at` = NOW(),
+ `changed_by` = 1;
+
+COMMIT;
+
+ALTER TABLE `serien`
+ MODIFY `created_at` datetime NOT NULL COMMENT 'Wann erstellt',
+ MODIFY `created_by` int(10) unsigned NOT NULL COMMENT 'Von welcher User-Id erstellt',
+ MODIFY `changed_at` datetime NOT NULL COMMENT 'Wann geändert',
+ MODIFY `changed_by` int(10) unsigned NOT NULL COMMENT 'Von welcher User-Id geändert';
+
+-- ----------------------------------------------------------------------------------
+-- Tabelle `verlage` aufmotzen.
+
+ALTER TABLE `verlage`
+ ADD `created_at` datetime,
+ ADD `created_by` int(10) unsigned,
+ ADD `changed_at` datetime,
+ ADD `changed_by` int(10) unsigned,
+ ADD KEY `created_by` (`created_by`),
+ ADD KEY `changed_by` (`changed_by`),
+ ADD CONSTRAINT `verlage_ibfk_1` FOREIGN KEY (`created_by`) REFERENCES `users` (`user_id`),
+ ADD CONSTRAINT `verlage_ibfk_2` FOREIGN KEY (`changed_by`) REFERENCES `users` (`user_id`);
+
+UPDATE `verlage` SET
+ `created_at` = NOW(),
+ `created_by` = 1,
+ `changed_at` = NOW(),
+ `changed_by` = 1;
+
+COMMIT;
+
+ALTER TABLE `verlage`
+ MODIFY `created_at` datetime NOT NULL COMMENT 'Wann erstellt',
+ MODIFY `created_by` int(10) unsigned NOT NULL COMMENT 'Von welcher User-Id erstellt',
+ MODIFY `changed_at` datetime NOT NULL COMMENT 'Wann geändert',
+ MODIFY `changed_by` int(10) unsigned NOT NULL COMMENT 'Von welcher User-Id geändert';
+
+-- ----------------------------------------------------------------------------------
+
+-- vim: noai : ts=4 fenc=utf-8 filetype=sql expandtab :
+++ /dev/null
---
--- Änderungen an der Datenstruktur
---
-
---
--- $Id$
--- $URL$
---
-
--- ----------------------------------------------------------------------------------
--- Tabelle `autoren` aufmotzen.
-
-ALTER TABLE `autoren`
- ADD `created_at` datetime,
- ADD `created_by` int(10) unsigned,
- ADD `changed_at` datetime,
- ADD `changed_by` int(10) unsigned,
- ADD KEY `created_by` (`created_by`),
- ADD KEY `changed_by` (`changed_by`),
- ADD CONSTRAINT `autoren_ibfk_1` FOREIGN KEY (`created_by`) REFERENCES `users` (`user_id`),
- ADD CONSTRAINT `autoren_ibfk_2` FOREIGN KEY (`changed_by`) REFERENCES `users` (`user_id`);
-
-UPDATE `autoren` SET
- `created_at` = NOW(),
- `created_by` = 1,
- `changed_at` = NOW(),
- `changed_by` = 1;
-
-COMMIT;
-
-ALTER TABLE `autoren`
- MODIFY `created_at` datetime NOT NULL COMMENT 'Wann erstellt',
- MODIFY `created_by` int(10) unsigned NOT NULL COMMENT 'Von welcher User-Id erstellt',
- MODIFY `changed_at` datetime NOT NULL COMMENT 'Wann geändert',
- MODIFY `changed_by` int(10) unsigned NOT NULL COMMENT 'Von welcher User-Id geändert';
-
--- ----------------------------------------------------------------------------------
--- Tabelle `buecher` aufmotzen.
-
-
-ALTER TABLE `buecher`
- ADD `notes` text COMMENT 'Anmerkungen',
- ADD `created_at` datetime,
- ADD `created_by` int(10) unsigned,
- ADD `changed_at` datetime,
- ADD `changed_by` int(10) unsigned,
- ADD KEY `created_by` (`created_by`),
- ADD KEY `changed_by` (`changed_by`),
- ADD CONSTRAINT `buecher_ibfk_5` FOREIGN KEY (`created_by`) REFERENCES `users` (`user_id`),
- ADD CONSTRAINT `buecher_ibfk_6` FOREIGN KEY (`changed_by`) REFERENCES `users` (`user_id`);
-
-UPDATE `buecher` SET
- `created_at` = NOW(),
- `created_by` = 1,
- `changed_at` = NOW(),
- `changed_by` = 1;
-
-COMMIT;
-
-ALTER TABLE `buecher`
- MODIFY `created_at` datetime NOT NULL COMMENT 'Wann erstellt',
- MODIFY `created_by` int(10) unsigned NOT NULL COMMENT 'Von welcher User-Id erstellt',
- MODIFY `changed_at` datetime NOT NULL COMMENT 'Wann geändert',
- MODIFY `changed_by` int(10) unsigned NOT NULL COMMENT 'Von welcher User-Id geändert';
-
--- ----------------------------------------------------------------------------------
-
--- vim: noai : ts=4 fenc=utf-8 filetype=sql expandtab :
+++ /dev/null
---
--- Änderungen an der Datenstruktur
---
-
---
--- $Id$
--- $URL$
---
-
--- ----------------------------------------------------------------------------------
--- Tabelle `kategorien` aufmotzen.
-
-ALTER TABLE `kategorien`
- ADD `created_at` datetime,
- ADD `created_by` int(10) unsigned,
- ADD `changed_at` datetime,
- ADD `changed_by` int(10) unsigned,
- ADD KEY `created_by` (`created_by`),
- ADD KEY `changed_by` (`changed_by`),
- ADD CONSTRAINT `kategorien_ibfk_1` FOREIGN KEY (`created_by`) REFERENCES `users` (`user_id`),
- ADD CONSTRAINT `kategorien_ibfk_2` FOREIGN KEY (`changed_by`) REFERENCES `users` (`user_id`);
-
-UPDATE `kategorien` SET
- `created_at` = NOW(),
- `created_by` = 1,
- `changed_at` = NOW(),
- `changed_by` = 1;
-
-COMMIT;
-
-ALTER TABLE `kategorien`
- MODIFY `created_at` datetime NOT NULL COMMENT 'Wann erstellt',
- MODIFY `created_by` int(10) unsigned NOT NULL COMMENT 'Von welcher User-Id erstellt',
- MODIFY `changed_at` datetime NOT NULL COMMENT 'Wann geändert',
- MODIFY `changed_by` int(10) unsigned NOT NULL COMMENT 'Von welcher User-Id geändert';
-
--- ----------------------------------------------------------------------------------
--- Tabelle `orte` aufmotzen.
-
-ALTER TABLE `orte`
- ADD `created_at` datetime,
- ADD `created_by` int(10) unsigned,
- ADD `changed_at` datetime,
- ADD `changed_by` int(10) unsigned,
- ADD KEY `created_by` (`created_by`),
- ADD KEY `changed_by` (`changed_by`),
- ADD CONSTRAINT `orte_ibfk_1` FOREIGN KEY (`created_by`) REFERENCES `users` (`user_id`),
- ADD CONSTRAINT `orte_ibfk_2` FOREIGN KEY (`changed_by`) REFERENCES `users` (`user_id`);
-
-UPDATE `orte` SET
- `created_at` = NOW(),
- `created_by` = 1,
- `changed_at` = NOW(),
- `changed_by` = 1;
-
-COMMIT;
-
-ALTER TABLE `orte`
- MODIFY `created_at` datetime NOT NULL COMMENT 'Wann erstellt',
- MODIFY `created_by` int(10) unsigned NOT NULL COMMENT 'Von welcher User-Id erstellt',
- MODIFY `changed_at` datetime NOT NULL COMMENT 'Wann geändert',
- MODIFY `changed_by` int(10) unsigned NOT NULL COMMENT 'Von welcher User-Id geändert';
-
--- ----------------------------------------------------------------------------------
--- Tabelle `serien` aufmotzen.
-
-ALTER TABLE `serien`
- ADD `created_at` datetime,
- ADD `created_by` int(10) unsigned,
- ADD `changed_at` datetime,
- ADD `changed_by` int(10) unsigned,
- ADD KEY `created_by` (`created_by`),
- ADD KEY `changed_by` (`changed_by`),
- ADD CONSTRAINT `serien_ibfk_1` FOREIGN KEY (`created_by`) REFERENCES `users` (`user_id`),
- ADD CONSTRAINT `serien_ibfk_2` FOREIGN KEY (`changed_by`) REFERENCES `users` (`user_id`);
-
-UPDATE `serien` SET
- `created_at` = NOW(),
- `created_by` = 1,
- `changed_at` = NOW(),
- `changed_by` = 1;
-
-COMMIT;
-
-ALTER TABLE `serien`
- MODIFY `created_at` datetime NOT NULL COMMENT 'Wann erstellt',
- MODIFY `created_by` int(10) unsigned NOT NULL COMMENT 'Von welcher User-Id erstellt',
- MODIFY `changed_at` datetime NOT NULL COMMENT 'Wann geändert',
- MODIFY `changed_by` int(10) unsigned NOT NULL COMMENT 'Von welcher User-Id geändert';
-
--- ----------------------------------------------------------------------------------
--- Tabelle `verlage` aufmotzen.
-
-ALTER TABLE `verlage`
- ADD `created_at` datetime,
- ADD `created_by` int(10) unsigned,
- ADD `changed_at` datetime,
- ADD `changed_by` int(10) unsigned,
- ADD KEY `created_by` (`created_by`),
- ADD KEY `changed_by` (`changed_by`),
- ADD CONSTRAINT `verlage_ibfk_1` FOREIGN KEY (`created_by`) REFERENCES `users` (`user_id`),
- ADD CONSTRAINT `verlage_ibfk_2` FOREIGN KEY (`changed_by`) REFERENCES `users` (`user_id`);
-
-UPDATE `verlage` SET
- `created_at` = NOW(),
- `created_by` = 1,
- `changed_at` = NOW(),
- `changed_by` = 1;
-
-COMMIT;
-
-ALTER TABLE `verlage`
- MODIFY `created_at` datetime NOT NULL COMMENT 'Wann erstellt',
- MODIFY `created_by` int(10) unsigned NOT NULL COMMENT 'Von welcher User-Id erstellt',
- MODIFY `changed_at` datetime NOT NULL COMMENT 'Wann geändert',
- MODIFY `changed_by` int(10) unsigned NOT NULL COMMENT 'Von welcher User-Id geändert';
-
--- ----------------------------------------------------------------------------------
-
--- vim: noai : ts=4 fenc=utf-8 filetype=sql expandtab :