~ubuntu-branches/ubuntu/utopic/strongswan/utopic

« back to all changes in this revision

Viewing changes to src/libcharon/plugins/medsrv/mysql.sql

  • Committer: Package Import Robot
  • Author(s): Jonathan Davies
  • Date: 2014-01-20 19:00:59 UTC
  • mfrom: (1.2.6)
  • Revision ID: package-import@ubuntu.com-20140120190059-z8e4dl3g8cd09yi5
Tags: 5.1.2~dr3+git20130120-0ubuntu1
* Upstream Git snapshot for build fixes with regards to entropy.
* debian/rules:
  - Enforcing DEB_BUILD_OPTIONS=nostrip for library integrity checking.
  - Set TESTS_REDUCED_KEYLENGTHS to one generate smallest key-lengths in
    tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
CREATE TABLE IF NOT EXISTS `peer` (
 
3
  `id` int(10) unsigned NOT NULL auto_increment,
 
4
  `user` int(10) unsigned NOT NULL,
 
5
  `alias` varchar(30) NOT NULL,
 
6
  `keyid` varbinary(20) NOT NULL,
 
7
  `public_key` blob,
 
8
  PRIMARY KEY  (`id`),
 
9
  UNIQUE KEY (`user`,`alias`),
 
10
  UNIQUE KEY (`keyid`),
 
11
  KEY (`user`)
 
12
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
 
13
 
 
14
CREATE TABLE IF NOT EXISTS `user` (
 
15
  `id` int(10) unsigned NOT NULL auto_increment,
 
16
  `login` varchar(30) NOT NULL,
 
17
  `password` varbinary(20) NOT NULL,
 
18
  PRIMARY KEY  (`id`),
 
19
  UNIQUE KEY (`login`)
 
20
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
 
21