2020-03-16 13:59:45 +00:00
|
|
|
# Generated by Django 2.2.10 on 2020-01-28 07:01
|
|
|
|
import django.db.models.deletion
|
2020-11-05 09:34:31 +00:00
|
|
|
from django.db import migrations, models
|
2015-02-27 08:53:51 +00:00
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
2020-03-16 13:59:45 +00:00
|
|
|
initial = True
|
|
|
|
|
2015-02-27 08:53:51 +00:00
|
|
|
dependencies = [
|
|
|
|
('computes', '0001_initial'),
|
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.CreateModel(
|
|
|
|
name='Instance',
|
|
|
|
fields=[
|
2020-03-16 13:59:45 +00:00
|
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
|
|
('name', models.CharField(max_length=120)),
|
2015-02-27 08:53:51 +00:00
|
|
|
('uuid', models.CharField(max_length=36)),
|
2020-03-16 13:59:45 +00:00
|
|
|
('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')),
|
2015-02-27 08:53:51 +00:00
|
|
|
],
|
|
|
|
),
|
|
|
|
]
|