Skip to content

Commit

Permalink
Prevent duplicates in flightlog
Browse files Browse the repository at this point in the history
  • Loading branch information
snip authored Jul 13, 2016
1 parent 3ae76c6 commit 01fd680
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions database_shema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ CREATE TABLE `flightlog` (
`maxaltitude` smallint(6) NOT NULL,
`gliderfid` varchar(10) COLLATE utf8_unicode_ci NOT NULL,
`planefid` varchar(10) COLLATE utf8_unicode_ci NOT NULL,
UNIQUE KEY `fdate_2` (`fdate`,`airfield`,`num`,`planereg`,`planemodel`,`planelanding`,`gliderreg`,`glidercn`,`glidermodel`,`gliderlanding`,`takeoff`,`maxaltitude`,`gliderfid`,`planefid`),
KEY `fdate` (`fdate`),
KEY `airfield` (`airfield`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
Expand Down

0 comments on commit 01fd680

Please sign in to comment.