mirror of
https://github.com/retspen/webvirtcloud
synced 2025-02-11 23:15:18 +00:00
20 lines
682 B
Python
20 lines
682 B
Python
|
from django.db import models, migrations
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
operations = [
|
||
|
migrations.CreateModel(
|
||
|
name='Compute',
|
||
|
fields=[
|
||
|
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
|
||
|
('name', models.CharField(max_length=20)),
|
||
|
('hostname', models.CharField(max_length=20)),
|
||
|
('login', models.CharField(max_length=20)),
|
||
|
('password', models.CharField(max_length=14, null=True, blank=True)),
|
||
|
('type', models.IntegerField()),
|
||
|
],
|
||
|
bases=(models.Model,),
|
||
|
),
|
||
|
]
|