django_coreprotect/migrations/0002_preset.py

41 lines
2.0 KiB
Python
Raw Normal View History

# Generated by Django 2.2.3 on 2019-10-01 04:28
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('django_coreprotect', '0001_initial'),
]
operations = [
migrations.CreateModel(
name='Preset',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=50)),
('block_break', models.BooleanField(default=False)),
('block_place', models.BooleanField(default=False)),
('chat', models.BooleanField(default=False)),
('chest_use', models.BooleanField(default=False)),
('command', models.BooleanField(default=False)),
('interact', models.BooleanField(default=False)),
('login_logout', models.BooleanField(default=False)),
('sign_place', models.BooleanField(default=False)),
('worlds', models.CharField(blank=True, default='', max_length=20)),
('ignore_environment', models.BooleanField(default=False)),
('oldest_first', models.BooleanField(default=False)),
('players', models.CharField(blank=True, max_length=50)),
('x', models.CharField(blank=True, default='', max_length=10)),
('y', models.CharField(blank=True, default='', max_length=10)),
('z', models.CharField(blank=True, default='', max_length=10)),
('radius', models.CharField(blank=True, default='', max_length=10)),
('blocks', models.CharField(blank=True, default='', max_length=50)),
('date_from', models.CharField(blank=True, default='', max_length=50)),
('date_to', models.CharField(blank=True, default='', max_length=50)),
('enabled', models.BooleanField(default=True)),
],
),
]