Skip to content

Fix SQL syntax in dump #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions database/dump.sql
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ CREATE TABLE `config` (
UNIQUE KEY `ldap_url` (`ldap_url`),
UNIQUE KEY `base_dn` (`base_dn`),
UNIQUE KEY `refresh_interval` (`refresh_interval`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;

CREATE TABLE `img` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'primary key',
Expand All @@ -28,15 +28,15 @@ CREATE TABLE `img` (
PRIMARY KEY (`id`),
UNIQUE KEY `id` (`id`),
UNIQUE KEY `images` (`images`)
) ENGINE=InnoDB AUTO_INCREMENT=155 DEFAULT CHARSET=utf8
) ENGINE=InnoDB AUTO_INCREMENT=155 DEFAULT CHARSET=utf8;

CREATE TABLE `logs` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'primary key',
`created_time` datetime DEFAULT NULL COMMENT 'created time',
`updated_time` datetime DEFAULT NULL COMMENT 'updated time',
`logs` text,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;

CREATE TABLE `switch` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'primary key',
Expand All @@ -45,7 +45,7 @@ CREATE TABLE `switch` (
`switch` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `switch` (`switch`)
) ENGINE=InnoDB AUTO_INCREMENT=185 DEFAULT CHARSET=utf8
) ENGINE=InnoDB AUTO_INCREMENT=185 DEFAULT CHARSET=utf8;


CREATE TABLE `users` (
Expand All @@ -58,7 +58,7 @@ CREATE TABLE `users` (
UNIQUE KEY `id` (`id`),
UNIQUE KEY `username` (`username`),
UNIQUE KEY `password` (`password`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;

CREATE TABLE `VMS_UNIQUE` (
`id` int(11) NOT NULL AUTO_INCREMENT,
Expand All @@ -75,4 +75,4 @@ CREATE TABLE `VMS_UNIQUE` (
PRIMARY KEY (`id`),
UNIQUE KEY `id` (`id`),
UNIQUE KEY `VMID` (`VMID`)
) ENGINE=InnoDB AUTO_INCREMENT=12857 DEFAULT CHARSET=utf8
) ENGINE=InnoDB AUTO_INCREMENT=12857 DEFAULT CHARSET=utf8;