forked from uncloud/uncloud
1e68539ed8
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
26 lines
762 B
Python
26 lines
762 B
Python
# Generated by Django 3.0.6 on 2020-06-21 12:34
|
|
|
|
from django.conf import settings
|
|
import django.contrib.postgres.fields.jsonb
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='VM',
|
|
fields=[
|
|
('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)),
|
|
],
|
|
),
|
|
]
|