diff --git a/plane/schema/derived_schema.sql b/plane/schema/derived_schema.sql index 1383c5400..fc388436e 100644 --- a/plane/schema/derived_schema.sql +++ b/plane/schema/derived_schema.sql @@ -387,7 +387,7 @@ CREATE TABLE public.controller ( is_online boolean NOT NULL, plane_version character varying(255) NOT NULL, plane_hash character varying(255) NOT NULL, - ip inet NOT NULL + ip inet ); diff --git a/plane/schema/migrations/20240105213756_make-controller-ip-nullable.sql b/plane/schema/migrations/20240105213756_make-controller-ip-nullable.sql new file mode 100644 index 000000000..7982e7e4b --- /dev/null +++ b/plane/schema/migrations/20240105213756_make-controller-ip-nullable.sql @@ -0,0 +1 @@ +alter table controller alter column ip drop not null;