From 0ac05d251c0df5fa09a27b7686acc5690b436f31 Mon Sep 17 00:00:00 2001 From: Philip Häusler Date: Sun, 20 Dec 2015 11:36:12 +0100 Subject: #198 fixed: driving license feature completed - integrated into angeltypes --- db/update.sql | 2 ++ 1 file changed, 2 insertions(+) (limited to 'db') diff --git a/db/update.sql b/db/update.sql index 402812c4..ae9c68d7 100644 --- a/db/update.sql +++ b/db/update.sql @@ -11,3 +11,5 @@ CREATE TABLE IF NOT EXISTS `UserDriverLicenses` ( ) ENGINE=InnoDB DEFAULT CHARSET=utf8; ALTER TABLE `UserDriverLicenses` ADD CONSTRAINT `userdriverlicenses_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `User` (`UID`) ON DELETE CASCADE ON UPDATE CASCADE; + +ALTER TABLE `AngelTypes` ADD `requires_driver_license` BOOLEAN NOT NULL; -- cgit v1.2.3-70-g09d2