Commit 847fbd28 authored by Francesc Guasch's avatar Francesc Guasch
Browse files

Create table for templates

SQL for creating the lxc templates table. Also there
is an entry with a busybox template.
parent 6518c394
INSERT INTO lxc_templates
(id,name,description)
VALUES(1,'busybox'
,'Busybox'
);
CREATE TABLE `lx_templates` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` char(64) NOT NULL,
`description` varchar(355),
`arch` char(8),
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`)
);
CREATE TABLE `lxc_templates` (
`id` integer primary key AUTOINCREMENT,
`name` char(64) NOT NULL,
`description` varchar(355),
`arch` char(8)
);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment