mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
Instances overhaul
This commit is contained in:
parent
f23e6b000f
commit
47009d47ca
69 changed files with 5011 additions and 4127 deletions
23
instances/migrations/0005_flavor.py
Normal file
23
instances/migrations/0005_flavor.py
Normal file
|
@ -0,0 +1,23 @@
|
|||
# Generated by Django 2.2.13 on 2020-06-23 12:12
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('instances', '0004_auto_20200618_0817'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='Flavor',
|
||||
fields=[
|
||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('label', models.CharField(max_length=12, verbose_name='label')),
|
||||
('memory', models.IntegerField(verbose_name='memory')),
|
||||
('vcpu', models.IntegerField(verbose_name='vcpu')),
|
||||
('disk', models.IntegerField(verbose_name='disk')),
|
||||
],
|
||||
),
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue