From e13d802f28eefecb12cd0d3a7940a5c4df3b1cd1 Mon Sep 17 00:00:00 2001 From: Andrii Marynets Date: Wed, 2 Aug 2017 23:40:00 +0300 Subject: [PATCH] Add file with VMTemplate hosting migrations --- datacenterlight/migrations/0006_vmtemplate.py | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 datacenterlight/migrations/0006_vmtemplate.py diff --git a/datacenterlight/migrations/0006_vmtemplate.py b/datacenterlight/migrations/0006_vmtemplate.py new file mode 100644 index 00000000..4c08f1bd --- /dev/null +++ b/datacenterlight/migrations/0006_vmtemplate.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.9.4 on 2017-08-02 20:22 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('datacenterlight', '0005_betaaccess_name'), + ] + + operations = [ + migrations.CreateModel( + name='VMTemplate', + fields=[ + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('name', models.CharField(max_length=50)), + ('opennebula_vm_template_id', models.IntegerField()), + ], + ), + ]