# -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2017-08-04 11:22
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Cloudconfig',
            fields=[
                ('name', models.CharField(db_column='NAME', max_length=20, primary_key=True, serialize=False)),
                ('description', models.CharField(db_column='DESCRIPTION', max_length=50)),
                ('tier1', models.CharField(db_column='TIER1', max_length=20)),
                ('tier1se', models.CharField(db_column='TIER1SE', max_length=400)),
                ('relocation', models.CharField(blank=True, db_column='RELOCATION', max_length=10, null=True)),
                ('weight', models.IntegerField(db_column='WEIGHT')),
                ('server', models.CharField(db_column='SERVER', max_length=100)),
                ('status', models.CharField(db_column='STATUS', max_length=20)),
                ('transtimelo', models.IntegerField(db_column='TRANSTIMELO')),
                ('transtimehi', models.IntegerField(db_column='TRANSTIMEHI')),
                ('waittime', models.IntegerField(db_column='WAITTIME')),
                ('comment_field', models.CharField(blank=True, db_column='COMMENT_', max_length=200, null=True)),
                ('space', models.IntegerField(db_column='SPACE')),
                ('moduser', models.CharField(blank=True, db_column='MODUSER', max_length=30, null=True)),
                ('modtime', models.DateTimeField(db_column='MODTIME')),
                ('validation', models.CharField(blank=True, db_column='VALIDATION', max_length=20, null=True)),
                ('mcshare', models.IntegerField(db_column='MCSHARE')),
                ('countries', models.CharField(blank=True, db_column='COUNTRIES', max_length=80, null=True)),
                ('fasttrack', models.CharField(blank=True, db_column='FASTTRACK', max_length=20, null=True)),
                ('nprestage', models.IntegerField(db_column='NPRESTAGE')),
                ('pilotowners', models.CharField(blank=True, db_column='PILOTOWNERS', max_length=300, null=True)),
                ('dn', models.CharField(blank=True, db_column='DN', max_length=100, null=True)),
                ('email', models.CharField(blank=True, db_column='EMAIL', max_length=60, null=True)),
                ('fairshare', models.CharField(blank=True, db_column='FAIRSHARE', max_length=128, null=True)),
                ('auto_mcu', models.IntegerField(db_column='AUTO_MCU')),
            ],
            options={
                'db_table': 'cloudconfig',
                'managed': False,
                'verbose_name_plural': 'cloudconfig',
            },
        ),
        migrations.CreateModel(
            name='Schedconfig',
            fields=[
                ('name', models.CharField(db_column='NAME', max_length=60)),
                ('nickname', models.CharField(db_column='NICKNAME', max_length=60, primary_key=True, serialize=False)),
                ('queue', models.CharField(blank=True, db_column='QUEUE', max_length=60, null=True)),
                ('localqueue', models.CharField(blank=True, db_column='LOCALQUEUE', max_length=50, null=True)),
                ('system', models.CharField(db_column='SYSTEM', max_length=60)),
                ('sysconfig', models.CharField(blank=True, db_column='SYSCONFIG', max_length=20, null=True)),
                ('environ', models.CharField(blank=True, db_column='ENVIRON', max_length=250, null=True)),
                ('gatekeeper', models.CharField(blank=True, db_column='GATEKEEPER', max_length=120, null=True)),
                ('jobmanager', models.CharField(blank=True, db_column='JOBMANAGER', max_length=80, null=True)),
                ('se', models.CharField(blank=True, db_column='SE', max_length=400, null=True)),
                ('ddm', models.CharField(blank=True, db_column='DDM', max_length=120, null=True)),
                ('jdladd', models.CharField(blank=True, db_column='JDLADD', max_length=500, null=True)),
                ('globusadd', models.CharField(blank=True, db_column='GLOBUSADD', max_length=100, null=True)),
                ('jdl', models.CharField(blank=True, db_column='JDL', max_length=60, null=True)),
                ('jdltxt', models.CharField(blank=True, db_column='JDLTXT', max_length=500, null=True)),
                ('version', models.CharField(blank=True, db_column='VERSION', max_length=60, null=True)),
                ('site', models.CharField(db_column='SITE', max_length=60)),
                ('region', models.CharField(blank=True, db_column='REGION', max_length=60, null=True)),
                ('gstat', models.CharField(blank=True, db_column='GSTAT', max_length=60, null=True)),
                ('tags', models.CharField(blank=True, db_column='TAGS', max_length=200, null=True)),
                ('cmd', models.CharField(blank=True, db_column='CMD', max_length=200, null=True)),
                ('lastmod', models.DateTimeField(db_column='LASTMOD')),
                ('errinfo', models.CharField(blank=True, db_column='ERRINFO', max_length=80, null=True)),
                ('nqueue', models.IntegerField(db_column='NQUEUE')),
                ('comment_field', models.CharField(blank=True, db_column='COMMENT_', max_length=500, null=True)),
                ('appdir', models.CharField(blank=True, db_column='APPDIR', max_length=500, null=True)),
                ('datadir', models.CharField(blank=True, db_column='DATADIR', max_length=80, null=True)),
                ('tmpdir', models.CharField(blank=True, db_column='TMPDIR', max_length=80, null=True)),
                ('wntmpdir', models.CharField(blank=True, db_column='WNTMPDIR', max_length=80, null=True)),
                ('dq2url', models.CharField(blank=True, db_column='DQ2URL', max_length=80, null=True)),
                ('special_par', models.CharField(blank=True, db_column='SPECIAL_PAR', max_length=80, null=True)),
                ('python_path', models.CharField(blank=True, db_column='PYTHON_PATH', max_length=80, null=True)),
                ('nodes', models.IntegerField(db_column='NODES')),
                ('status', models.CharField(blank=True, db_column='STATUS', max_length=10, null=True)),
                ('copytool', models.CharField(blank=True, db_column='COPYTOOL', max_length=80, null=True)),
                ('copysetup', models.CharField(blank=True, db_column='COPYSETUP', max_length=200, null=True)),
                ('releases', models.CharField(blank=True, db_column='RELEASES', max_length=500, null=True)),
                ('sepath', models.CharField(blank=True, db_column='SEPATH', max_length=400, null=True)),
                ('envsetup', models.CharField(blank=True, db_column='ENVSETUP', max_length=200, null=True)),
                ('copyprefix', models.CharField(blank=True, db_column='COPYPREFIX', max_length=160, null=True)),
                ('lfcpath', models.CharField(blank=True, db_column='LFCPATH', max_length=80, null=True)),
                ('seopt', models.CharField(blank=True, db_column='SEOPT', max_length=400, null=True)),
                ('sein', models.CharField(blank=True, db_column='SEIN', max_length=400, null=True)),
                ('seinopt', models.CharField(blank=True, db_column='SEINOPT', max_length=400, null=True)),
                ('lfchost', models.CharField(blank=True, db_column='LFCHOST', max_length=80, null=True)),
                ('cloud', models.CharField(blank=True, db_column='CLOUD', max_length=60, null=True)),
                ('siteid', models.CharField(blank=True, db_column='SITEID', max_length=60, null=True)),
                ('proxy', models.CharField(blank=True, db_column='PROXY', max_length=80, null=True)),
                ('retry', models.CharField(blank=True, db_column='RETRY', max_length=10, null=True)),
                ('queuehours', models.IntegerField(db_column='QUEUEHOURS')),
                ('envsetupin', models.CharField(blank=True, db_column='ENVSETUPIN', max_length=200, null=True)),
                ('copytoolin', models.CharField(blank=True, db_column='COPYTOOLIN', max_length=180, null=True)),
                ('copysetupin', models.CharField(blank=True, db_column='COPYSETUPIN', max_length=200, null=True)),
                ('seprodpath', models.CharField(blank=True, db_column='SEPRODPATH', max_length=400, null=True)),
                ('lfcprodpath', models.CharField(blank=True, db_column='LFCPRODPATH', max_length=80, null=True)),
                ('copyprefixin', models.CharField(blank=True, db_column='COPYPREFIXIN', max_length=360, null=True)),
                ('recoverdir', models.CharField(blank=True, db_column='RECOVERDIR', max_length=80, null=True)),
                ('memory', models.IntegerField(db_column='MEMORY')),
                ('maxtime', models.IntegerField(db_column='MAXTIME')),
                ('space', models.IntegerField(db_column='SPACE')),
                ('tspace', models.DateTimeField(db_column='TSPACE')),
                ('cmtconfig', models.CharField(blank=True, db_column='CMTCONFIG', max_length=250, null=True)),
                ('setokens', models.CharField(blank=True, db_column='SETOKENS', max_length=80, null=True)),
                ('glexec', models.CharField(blank=True, db_column='GLEXEC', max_length=10, null=True)),
                ('priorityoffset', models.CharField(blank=True, db_column='PRIORITYOFFSET', max_length=60, null=True)),
                ('allowedgroups', models.CharField(blank=True, db_column='ALLOWEDGROUPS', max_length=100, null=True)),
                ('defaulttoken', models.CharField(blank=True, db_column='DEFAULTTOKEN', max_length=100, null=True)),
                ('pcache', models.CharField(blank=True, db_column='PCACHE', max_length=100, null=True)),
                ('validatedreleases', models.CharField(blank=True, db_column='VALIDATEDRELEASES', max_length=500, null=True)),
                ('accesscontrol', models.CharField(blank=True, db_column='ACCESSCONTROL', max_length=20, null=True)),
                ('dn', models.CharField(blank=True, db_column='DN', max_length=100, null=True)),
                ('email', models.CharField(blank=True, db_column='EMAIL', max_length=60, null=True)),
                ('allowednode', models.CharField(blank=True, db_column='ALLOWEDNODE', max_length=80, null=True)),
                ('maxinputsize', models.IntegerField(blank=True, db_column='MAXINPUTSIZE', null=True)),
                ('timefloor', models.IntegerField(blank=True, db_column='TIMEFLOOR', null=True)),
                ('depthboost', models.IntegerField(blank=True, db_column='DEPTHBOOST', null=True)),
                ('idlepilotsupression', models.IntegerField(blank=True, db_column='IDLEPILOTSUPRESSION', null=True)),
                ('pilotlimit', models.IntegerField(blank=True, db_column='PILOTLIMIT', null=True)),
                ('transferringlimit', models.IntegerField(blank=True, db_column='TRANSFERRINGLIMIT', null=True)),
                ('cachedse', models.IntegerField(blank=True, db_column='CACHEDSE', null=True)),
                ('corecount', models.IntegerField(blank=True, db_column='CORECOUNT', null=True)),
                ('countrygroup', models.CharField(blank=True, db_column='COUNTRYGROUP', max_length=64, null=True)),
                ('availablecpu', models.CharField(blank=True, db_column='AVAILABLECPU', max_length=64, null=True)),
                ('availablestorage', models.CharField(blank=True, db_column='AVAILABLESTORAGE', max_length=64, null=True)),
                ('pledgedcpu', models.CharField(blank=True, db_column='PLEDGEDCPU', max_length=64, null=True)),
                ('pledgedstorage', models.CharField(blank=True, db_column='PLEDGEDSTORAGE', max_length=64, null=True)),
                ('statusoverride', models.CharField(blank=True, db_column='STATUSOVERRIDE', max_length=256, null=True)),
                ('allowdirectaccess', models.CharField(blank=True, db_column='ALLOWDIRECTACCESS', max_length=10, null=True)),
                ('gocname', models.CharField(blank=True, db_column='GOCNAME', max_length=64, null=True)),
                ('tier', models.CharField(blank=True, db_column='TIER', max_length=15, null=True)),
                ('multicloud', models.CharField(blank=True, db_column='MULTICLOUD', max_length=64, null=True)),
                ('lfcregister', models.CharField(blank=True, db_column='LFCREGISTER', max_length=10, null=True)),
                ('stageinretry', models.IntegerField(blank=True, db_column='STAGEINRETRY', null=True)),
                ('stageoutretry', models.IntegerField(blank=True, db_column='STAGEOUTRETRY', null=True)),
                ('fairsharepolicy', models.CharField(blank=True, db_column='FAIRSHAREPOLICY', max_length=512, null=True)),
                ('allowfax', models.CharField(blank=True, db_column='ALLOWFAX', max_length=64, null=True)),
                ('faxredirector', models.CharField(blank=True, db_column='FAXREDIRECTOR', max_length=256, null=True)),
                ('maxwdir', models.IntegerField(blank=True, db_column='MAXWDIR', null=True)),
                ('celist', models.CharField(blank=True, db_column='CELIST', max_length=4000, null=True)),
                ('minmemory', models.IntegerField(blank=True, db_column='MINMEMORY', null=True)),
                ('maxmemory', models.IntegerField(blank=True, db_column='MAXMEMORY', null=True)),
                ('mintime', models.IntegerField(blank=True, db_column='MINTIME', null=True)),
                ('allowjem', models.CharField(blank=True, db_column='ALLOWJEM', max_length=64, null=True)),
                ('catchall', models.CharField(blank=True, db_column='CATCHALL', max_length=512, null=True)),
                ('faxdoor', models.CharField(blank=True, db_column='FAXDOOR', max_length=128, null=True)),
                ('wansourcelimit', models.IntegerField(blank=True, db_column='WANSOURCELIMIT', null=True)),
                ('wansinklimit', models.IntegerField(blank=True, db_column='WANSINKLIMIT', null=True)),
                ('auto_mcu', models.IntegerField(db_column='AUTO_MCU')),
                ('objectstore', models.CharField(blank=True, db_column='OBJECTSTORE', max_length=512, null=True)),
                ('allowhttp', models.CharField(blank=True, db_column='ALLOWHTTP', max_length=64, null=True)),
                ('httpredirector', models.CharField(blank=True, db_column='HTTPREDIRECTOR', max_length=256, null=True)),
                ('multicloud_append', models.CharField(blank=True, db_column='MULTICLOUD_APPEND', max_length=64, null=True)),
            ],
            options={
                'db_table': 'schedconfig',
                'managed': False,
                'verbose_name_plural': 'schedconfig',
            },
        ),
        migrations.CreateModel(
            name='Siteaccess',
            fields=[
                ('id', models.AutoField(db_column='ID', primary_key=True, serialize=False)),
                ('dn', models.CharField(blank=True, db_column='DN', max_length=100, null=True)),
                ('pandasite', models.CharField(blank=True, db_column='PANDASITE', max_length=100, null=True)),
                ('poffset', models.IntegerField(db_column='POFFSET')),
                ('rights', models.CharField(blank=True, db_column='RIGHTS', max_length=30, null=True)),
                ('status', models.CharField(blank=True, db_column='STATUS', max_length=20, null=True)),
                ('workinggroups', models.CharField(blank=True, db_column='WORKINGGROUPS', max_length=100, null=True)),
                ('created', models.DateField(blank=True, db_column='CREATED', null=True)),
            ],
            options={
                'db_table': 'siteaccess',
                'managed': False,
                'verbose_name_plural': 'siteaccess',
            },
        ),
        migrations.CreateModel(
            name='Users',
            fields=[
                ('id', models.IntegerField(db_column='ID', primary_key=True, serialize=False)),
                ('name', models.CharField(db_column='NAME', max_length=60)),
                ('dn', models.CharField(blank=True, db_column='DN', max_length=150, null=True)),
                ('email', models.CharField(blank=True, db_column='EMAIL', max_length=60, null=True)),
                ('url', models.CharField(blank=True, db_column='URL', max_length=100, null=True)),
                ('location', models.CharField(blank=True, db_column='LOCATION', max_length=60, null=True)),
                ('classa', models.CharField(blank=True, db_column='CLASSA', max_length=30, null=True)),
                ('classp', models.CharField(blank=True, db_column='CLASSP', max_length=30, null=True)),
                ('classxp', models.CharField(blank=True, db_column='CLASSXP', max_length=30, null=True)),
                ('sitepref', models.CharField(blank=True, db_column='SITEPREF', max_length=60, null=True)),
                ('gridpref', models.CharField(blank=True, db_column='GRIDPREF', max_length=20, null=True)),
                ('queuepref', models.CharField(blank=True, db_column='QUEUEPREF', max_length=60, null=True)),
                ('scriptcache', models.CharField(blank=True, db_column='SCRIPTCACHE', max_length=100, null=True)),
                ('types', models.CharField(blank=True, db_column='TYPES', max_length=60, null=True)),
                ('sites', models.CharField(blank=True, db_column='SITES', max_length=250, null=True)),
                ('njobsa', models.IntegerField(blank=True, db_column='NJOBSA', null=True)),
                ('njobsp', models.IntegerField(blank=True, db_column='NJOBSP', null=True)),
                ('njobs1', models.IntegerField(blank=True, db_column='NJOBS1', null=True)),
                ('njobs7', models.IntegerField(blank=True, db_column='NJOBS7', null=True)),
                ('njobs30', models.IntegerField(blank=True, db_column='NJOBS30', null=True)),
                ('cpua1', models.BigIntegerField(blank=True, db_column='CPUA1', null=True)),
                ('cpua7', models.BigIntegerField(blank=True, db_column='CPUA7', null=True)),
                ('cpua30', models.BigIntegerField(blank=True, db_column='CPUA30', null=True)),
                ('cpup1', models.BigIntegerField(blank=True, db_column='CPUP1', null=True)),
                ('cpup7', models.BigIntegerField(blank=True, db_column='CPUP7', null=True)),
                ('cpup30', models.BigIntegerField(blank=True, db_column='CPUP30', null=True)),
                ('cpuxp1', models.BigIntegerField(blank=True, db_column='CPUXP1', null=True)),
                ('cpuxp7', models.BigIntegerField(blank=True, db_column='CPUXP7', null=True)),
                ('cpuxp30', models.BigIntegerField(blank=True, db_column='CPUXP30', null=True)),
                ('quotaa1', models.BigIntegerField(blank=True, db_column='QUOTAA1', null=True)),
                ('quotaa7', models.BigIntegerField(blank=True, db_column='QUOTAA7', null=True)),
                ('quotaa30', models.BigIntegerField(blank=True, db_column='QUOTAA30', null=True)),
                ('quotap1', models.BigIntegerField(blank=True, db_column='QUOTAP1', null=True)),
                ('quotap7', models.BigIntegerField(blank=True, db_column='QUOTAP7', null=True)),
                ('quotap30', models.BigIntegerField(blank=True, db_column='QUOTAP30', null=True)),
                ('quotaxp1', models.BigIntegerField(blank=True, db_column='QUOTAXP1', null=True)),
                ('quotaxp7', models.BigIntegerField(blank=True, db_column='QUOTAXP7', null=True)),
                ('quotaxp30', models.BigIntegerField(blank=True, db_column='QUOTAXP30', null=True)),
                ('space1', models.IntegerField(blank=True, db_column='SPACE1', null=True)),
                ('space7', models.IntegerField(blank=True, db_column='SPACE7', null=True)),
                ('space30', models.IntegerField(blank=True, db_column='SPACE30', null=True)),
                ('lastmod', models.DateTimeField(db_column='LASTMOD')),
                ('firstjob', models.DateTimeField(db_column='FIRSTJOB')),
                ('latestjob', models.DateTimeField(db_column='LATESTJOB')),
                ('pagecache', models.TextField(blank=True, db_column='PAGECACHE', null=True)),
                ('cachetime', models.DateTimeField(db_column='CACHETIME')),
                ('ncurrent', models.IntegerField(db_column='NCURRENT')),
                ('jobid', models.IntegerField(db_column='JOBID')),
                ('status', models.CharField(blank=True, db_column='STATUS', max_length=20, null=True)),
                ('vo', models.CharField(blank=True, db_column='VO', max_length=20, null=True)),
            ],
            options={
                'db_table': 'users',
                'managed': False,
                'verbose_name_plural': 'users',
            },
        ),
    ]
