2020-02-23 10:41:51 +00:00
|
|
|
# Generated by Django 3.0.3 on 2020-02-23 10:02
|
2020-02-21 15:33:37 +00:00
|
|
|
|
2020-02-23 10:41:51 +00:00
|
|
|
from django.conf import settings
|
|
|
|
import django.contrib.postgres.fields.jsonb
|
2020-02-21 15:33:37 +00:00
|
|
|
from django.db import migrations, models
|
2020-02-23 10:41:51 +00:00
|
|
|
import django.db.models.deletion
|
2020-02-21 15:33:37 +00:00
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
|
|
initial = True
|
|
|
|
|
|
|
|
dependencies = [
|
2020-02-23 10:41:51 +00:00
|
|
|
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
2020-02-21 15:33:37 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.CreateModel(
|
|
|
|
name='VM',
|
|
|
|
fields=[
|
2020-02-23 10:41:51 +00:00
|
|
|
('vmid', models.IntegerField(primary_key=True, serialize=False)),
|
|
|
|
('data', django.contrib.postgres.fields.jsonb.JSONField()),
|
|
|
|
('owner', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
|
2020-02-21 15:33:37 +00:00
|
|
|
],
|
|
|
|
),
|
|
|
|
]
|