diff --git a/db/migrate/20220701113409_change_notification_text_type_to_text.rb b/db/migrate/20220701113409_change_notification_text_type_to_text.rb new file mode 100644 index 0000000000..79c4b50279 --- /dev/null +++ b/db/migrate/20220701113409_change_notification_text_type_to_text.rb @@ -0,0 +1,5 @@ +class ChangeNotificationTextTypeToText < ActiveRecord::Migration[6.1] + def change + change_column :notifications, :text, :text + end +end diff --git a/db/structure.sql b/db/structure.sql index f687591b18..0918a5fcdb 100644 --- a/db/structure.sql +++ b/db/structure.sql @@ -2203,7 +2203,7 @@ ALTER SEQUENCE public.nameservers_id_seq OWNED BY public.nameservers.id; CREATE TABLE public.notifications ( id integer NOT NULL, registrar_id integer NOT NULL, - text character varying NOT NULL, + text text NOT NULL, attached_obj_type character varying, attached_obj_id integer, read boolean NOT NULL, @@ -5239,4 +5239,5 @@ INSERT INTO "schema_migrations" (version) VALUES ('20220413084748'), ('20220504090512'), ('20220524130709'), +('20220701113409'), ('20220818075833');