Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

migrations #135

Open
VVStanley opened this issue Nov 10, 2022 · 0 comments
Open

migrations #135

VVStanley opened this issue Nov 10, 2022 · 0 comments

Comments

@VVStanley
Copy link

VVStanley commented Nov 10, 2022

When you run migrations from your library, a migration is created
/dbtemplates/migrations/0002_alter_template_id.py
with content like this

class Migration(migrations.Migration):

     dependencies = [
         ('dbtemplates', '0001_initial'),
     ]

     operations = [
         migrations.AlterField(
             model_name='template',
             name='id',
             field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
         ),
     ]

Django = "^3.2.7"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant