mirror of https://github.com/jumpserver/jumpserver
parent
772c9b385c
commit
1d6f827296
|
@ -27,7 +27,7 @@ class Migration(migrations.Migration):
|
|||
('comment', models.TextField(blank=True, default='', verbose_name='Comment')),
|
||||
('id', models.UUIDField(default=uuid.uuid4, primary_key=True, serialize=False)),
|
||||
('org_id', models.CharField(blank=True, db_index=True, default='', max_length=36, verbose_name='Organization')),
|
||||
('connectivity', models.CharField(choices=[('-', 'Unknown'), ('ok', 'Ok'), ('err', 'Error')], default='-', max_length=16, verbose_name='Connectivity')),
|
||||
('connectivity', models.CharField(choices=[('-', 'Unknown'), ('ok', 'OK'), ('err', 'Error')], default='-', max_length=16, verbose_name='Connectivity')),
|
||||
('date_verified', models.DateTimeField(null=True, verbose_name='Date verified')),
|
||||
('_secret', common.db.fields.EncryptTextField(blank=True, null=True, verbose_name='Secret')),
|
||||
('name', models.CharField(max_length=128, verbose_name='Name')),
|
||||
|
@ -109,7 +109,7 @@ class Migration(migrations.Migration):
|
|||
],
|
||||
options={
|
||||
'verbose_name': 'Account template',
|
||||
'permissions': [('view_accounttemplatesecret', 'Can view asset account template secret'), ('change_accounttemplatesecret', 'Can change asset account template secret')],
|
||||
'permissions': [('view_accounttemplatesecret', 'Can view asset account template secret')],
|
||||
},
|
||||
),
|
||||
migrations.CreateModel(
|
||||
|
|
|
@ -1,11 +1,13 @@
|
|||
# Generated by Django 4.1.13 on 2024-05-09 03:16
|
||||
|
||||
import uuid
|
||||
|
||||
import django.db.models.deletion
|
||||
from django.db import migrations, models
|
||||
|
||||
import assets.models.asset.common
|
||||
import assets.models.node
|
||||
import common.db.fields
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
import uuid
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
@ -26,7 +28,7 @@ class Migration(migrations.Migration):
|
|||
('comment', models.TextField(blank=True, default='', verbose_name='Comment')),
|
||||
('id', models.UUIDField(default=uuid.uuid4, primary_key=True, serialize=False)),
|
||||
('org_id', models.CharField(blank=True, db_index=True, default='', max_length=36, verbose_name='Organization')),
|
||||
('connectivity', models.CharField(choices=[('-', 'Unknown'), ('ok', 'Ok'), ('err', 'Error')], default='-', max_length=16, verbose_name='Connectivity')),
|
||||
('connectivity', models.CharField(choices=[('-', 'Unknown'), ('ok', 'OK'), ('err', 'Error')], default='-', max_length=16, verbose_name='Connectivity')),
|
||||
('date_verified', models.DateTimeField(null=True, verbose_name='Date verified')),
|
||||
('name', models.CharField(max_length=128, verbose_name='Name')),
|
||||
('address', models.CharField(db_index=True, max_length=767, verbose_name='Address')),
|
||||
|
@ -55,7 +57,7 @@ class Migration(migrations.Migration):
|
|||
],
|
||||
options={
|
||||
'verbose_name': 'Automation task execution',
|
||||
'ordering': ('-date_start',),
|
||||
'ordering': ('org_id', '-date_start'),
|
||||
},
|
||||
),
|
||||
migrations.CreateModel(
|
||||
|
|
|
@ -1,10 +1,12 @@
|
|||
# Generated by Django 4.1.13 on 2024-05-09 03:16
|
||||
|
||||
import common.db.encoder
|
||||
from django.db import migrations, models
|
||||
import django.utils.timezone
|
||||
import uuid
|
||||
|
||||
import django.utils.timezone
|
||||
from django.db import migrations, models
|
||||
|
||||
import common.db.encoder
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
|
@ -43,7 +45,7 @@ class Migration(migrations.Migration):
|
|||
('filename', models.CharField(max_length=1024, verbose_name='Filename')),
|
||||
('is_success', models.BooleanField(default=True, verbose_name='Success')),
|
||||
('date_start', models.DateTimeField(auto_now_add=True, db_index=True, verbose_name='Date start')),
|
||||
('has_file', models.BooleanField(default=False, verbose_name='File')),
|
||||
('has_file', models.BooleanField(default=False, verbose_name='Can Download')),
|
||||
('session', models.CharField(default=uuid.uuid4, max_length=36, verbose_name='Session')),
|
||||
],
|
||||
options={
|
||||
|
@ -56,7 +58,7 @@ class Migration(migrations.Migration):
|
|||
('org_id', models.CharField(blank=True, db_index=True, default='', max_length=36, verbose_name='Organization')),
|
||||
('id', models.UUIDField(default=uuid.uuid4, primary_key=True, serialize=False)),
|
||||
('user', models.CharField(max_length=128, verbose_name='User')),
|
||||
('action', models.CharField(choices=[('view', 'View'), ('update', 'Update'), ('delete', 'Delete'), ('create', 'Create'), ('download', 'Download'), ('connect', 'Connect'), ('login', 'Login'), ('change_password', 'Change password'), ('accept', 'Accept'), ('review', 'Review'), ('notice', 'Notifications'), ('reject', 'Reject'), ('approve', 'Approve'), ('close', 'Close')], max_length=16, verbose_name='Action')),
|
||||
('action', models.CharField(choices=[('view', 'View'), ('update', 'Update'), ('delete', 'Delete'), ('create', 'Create'), ('download', 'Download'), ('connect', 'Connect'), ('login', 'Login'), ('change_password', 'Change password'), ('accept', 'Accept'), ('review', 'Review'), ('notice', 'Notifications'), ('reject', 'Reject'), ('approve', 'Approve'), ('close', 'Close'), ('finished', 'Finished')], max_length=16, verbose_name='Action')),
|
||||
('resource_type', models.CharField(max_length=64, verbose_name='Resource Type')),
|
||||
('resource', models.CharField(max_length=128, verbose_name='Resource')),
|
||||
('resource_id', models.CharField(blank=True, db_index=True, default='', max_length=128, verbose_name='Resource')),
|
||||
|
@ -112,7 +114,7 @@ class Migration(migrations.Migration):
|
|||
('user_agent', models.CharField(blank=True, max_length=254, null=True, verbose_name='User agent')),
|
||||
('type', models.CharField(choices=[('W', 'Web'), ('T', 'Terminal'), ('U', 'Unknown')], max_length=2, verbose_name='Login type')),
|
||||
('backend', models.CharField(default='', max_length=32, verbose_name='Auth backend')),
|
||||
('date_created', models.DateTimeField(blank=True, null=True, verbose_name='Date created')),
|
||||
('date_created', models.DateTimeField(blank=True, null=True, verbose_name='Login date')),
|
||||
],
|
||||
options={
|
||||
'verbose_name': 'User session',
|
||||
|
|
|
@ -78,6 +78,7 @@ class Migration(migrations.Migration):
|
|||
],
|
||||
options={
|
||||
'ordering': ('-date_start',),
|
||||
'verbose_name': 'Applet host deployment'
|
||||
},
|
||||
),
|
||||
migrations.CreateModel(
|
||||
|
@ -91,6 +92,9 @@ class Migration(migrations.Migration):
|
|||
('status', models.CharField(default='pending', max_length=16, verbose_name='Status')),
|
||||
('comment', models.TextField(blank=True, default='', verbose_name='Comment')),
|
||||
],
|
||||
options={
|
||||
'verbose_name': 'Applet Publication'
|
||||
},
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='AppProvider',
|
||||
|
@ -106,6 +110,7 @@ class Migration(migrations.Migration):
|
|||
],
|
||||
options={
|
||||
'ordering': ('-date_created',),
|
||||
'verbose_name': 'App Provider'
|
||||
},
|
||||
),
|
||||
migrations.CreateModel(
|
||||
|
|
Loading…
Reference in New Issue