Replies: 2 comments 1 reply
-
Ping: @Archmonger |
Beta Was this translation helpful? Give feedback.
-
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); |
Beta Was this translation helpful? Give feedback.
-
I'm migrating to
and on
./manage.py migrate
get the following. Suggestions? Thank you.Beta Was this translation helpful? Give feedback.
All reactions