Replies: 2 comments 1 reply
|
This may be helpful. The error occurs on remote, but everything previously worked on local. So, I ran BEGIN;
--
-- Create model ComponentParams
--
CREATE TABLE "django_idom_componentparams" ("uuid" char(32) NOT NULL PRIMARY KEY, "data" BLOB NOT NULL, "created_at" datetime NOT NULL);
COMMIT;On remote, I don't have the table ERROR: type "blob" does not exist
LINE 1: ...("uuid" char(32) NOT NULL PRIMARY KEY, "data" BLOB NOT N...== On remote: == EDIT: Ok, I think I fixed it with the query (but don't understand why it's necessary; I see the Django migrations in the django_idom site package): CREATE TABLE "django_idom_componentparams" ("uuid" uuid NOT NULL PRIMARY KEY, "data" bytea NOT NULL, "last_accessed" timestamp with time zone NOT NULL); |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm migrating to
and on
./manage.py migrateget the following. Suggestions? Thank you.All reactions