File: clients.sql

package info (click to toggle)
goiardi 0.11.10-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,708 kB
  • sloc: sql: 4,994; makefile: 156; sh: 95; python: 30
file content (20 lines) | stat: -rw-r--r-- 445 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
-- Deploy clients

BEGIN;

CREATE TABLE clients (
	id int not null auto_increment,
	name varchar(2048) not null,
	nodename varchar(2048),
	validator tinyint(4) default 0,
	admin tinyint(4) default 0,
	organization_id int not null default 1,
	public_key text,
	certificate text,
	created_at datetime not null,
	updated_at datetime not null,
	primary key(id),
	unique key(organization_id, name(250))
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

COMMIT;