mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-24 23:25:24 +00:00
27 lines
870 B
Python
27 lines
870 B
Python
# Generated by Django 2.2.10 on 2020-01-28 07:01
|
|
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
('computes', '0001_initial'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Instance',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('name', models.CharField(max_length=120)),
|
|
('uuid', models.CharField(max_length=36)),
|
|
('is_template', models.BooleanField(default=False)),
|
|
('created', models.DateField(auto_now_add=True)),
|
|
('compute', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='computes.Compute')),
|
|
],
|
|
),
|
|
]
|