Skip to content

Commit

Permalink
refactor(db): table for instances
Browse files Browse the repository at this point in the history
  • Loading branch information
frankiejol committed Jan 24, 2020
1 parent dbb2b49 commit 1163197
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions sql/mysql/domain_instances.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
CREATE TABLE `domain_instances` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`id_domain` int(11) NOT NULL,
`id_vm` int(11) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `id2` (`id_domain`,`id_vm`)
);

0 comments on commit 1163197

Please sign in to comment.