old_contents: # -*- coding: utf-8 -*-
  # Generated by Django 1.9.2 on 2017-04-24 13:08
  from __future__ import unicode_literals
  
  import django.contrib.postgres.fields.jsonb
  from django.db import migrations, models
  import django.db.models.deletion
  import uuid
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
          ('models', '0001_initial'),
      ]
  
      operations = [
          migrations.AddField(
              model_name='maplayer',
              name='centerx',
              field=models.FloatField(blank=True, null=True),
          ),
          migrations.AddField(
              model_name='maplayer',
              name='centery',
              field=models.FloatField(blank=True, null=True),
          ),
          migrations.AddField(
              model_name='maplayer',
              name='zoom',
              field=models.FloatField(blank=True, null=True),
          )
      ]
  
new_contents: # -*- coding: utf-8 -*-
  # Generated by Django 1.9.2 on 2017-04-24 13:08
  from __future__ import unicode_literals
  
  import os
  import uuid
  import django.db.models.deletion
  import django.contrib.postgres.fields.jsonb
  from django.db import migrations, models
  from django.core import management
  from arches.app.models.system_settings import SystemSettings as settings
  
  def forwards_func(apps, schema_editor):
      # We get the model from the versioned app registry;
      # if we directly import it, it'll be the wrong version
      management.call_command('packages', operation='import_graphs', source=os.path.join(settings.ROOT_DIR, 'db', 'graphs', 'resource_models', 'Arches System Settings.json'))
  
  def reverse_func(apps, schema_editor):
      pass
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
          ('models', '0001_initial'),
      ]
  
      operations = [
          migrations.AddField(
              model_name='maplayer',
              name='centerx',
              field=models.FloatField(blank=True, null=True),
          ),
          migrations.AddField(
              model_name='maplayer',
              name='centery',
              field=models.FloatField(blank=True, null=True),
          ),
          migrations.AddField(
              model_name='maplayer',
              name='zoom',
              field=models.FloatField(blank=True, null=True),
          ),
          migrations.RunPython(forwards_func, reverse_func)
      ]
  
subject: load System Settings graph when setting up the system, re #1631