Question #692930 on Graphite changed: https://answers.launchpad.net/graphite/+question/692930
Status: Answered => Open Simon Trimboy is still having a problem: Hi, Unfortunately this didn't seem to generate any db tables either. What would one expect from running the below commands in a fresh install ? PYTHONPATH=/opt/graphite/webapp /usr/local/bin/django-admin.py makemigrations --settings=graphite.local_settings No changes detected [root@sm-metric-store-0 graphite]# PYTHONPATH=/opt/graphite/webapp /usr/local/bin/django-admin.py migrate --settings=graphite.local_settings Operations to perform: Apply all migrations: (none) Running migrations: No migrations to apply. I have run the inspectdb command below : PYTHONPATH=/opt/graphite/webapp /usr/local/bin/django-admin.py inspectdb --settings=graphite.local_settings # This is an auto-generated Django model module. # You'll have to do the following manually to clean this up: # * Rearrange models' order # * Make sure each model has one field with primary_key=True # * Make sure each ForeignKey and OneToOneField has `on_delete` set to the desired behavior # * Remove `managed = False` lines if you wish to allow Django to create, modify, and delete the table # Feel free to rename the models, but don't rename db_table values or field names. from django.db import models class DjangoMigrations(models.Model): app = models.CharField(max_length=255) name = models.CharField(max_length=255) applied = models.DateTimeField() class Meta: managed = False db_table = 'django_migrations' -- You received this question notification because your team graphite-dev is an answer contact for Graphite. _______________________________________________ Mailing list: https://launchpad.net/~graphite-dev Post to : graphite-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~graphite-dev More help : https://help.launchpad.net/ListHelp