Template error:
In template /home/vardhan/core/notes/templates/notes/bundles.html, error at line 30
relation "notes_bundles" does not exist
LINE 1: ..._bundles"."created_at", "notes_bundles"."id" FROM "notes_bun...
Exception Type: ProgrammingError at /my_notes/
Exception Value: relation "notes_bundles" does not exist
LINE 1: ..._bundles"."created_at", "notes_bundles"."id" FROM "notes_bun...
this is from one of the files in migrations.py
migrations.CreateModel(
name='Bundles',
fields=[
('title', models.TextField(max_length=100)),
('created_at', models.DateTimeField(auto_now_add=True)),
('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
('author', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
('notes', models.ManyToManyField(to='notes.Notes')),
],
options={
'ordering': ['-created_at'],
},
),
so it does exist, I don’t know where I am going wrong.
Maybe the problem is there got pulled from github and the migrations are on my local machine and they aren’t on the production server, any way to fix that?
because the timestamp at the top of the migrations file is completely wrong wrt the production server.
I am in some deep trouble, please help me.