mirror of
https://github.com/internetee/registry.git
synced 2025-07-28 21:46:24 +02:00
Increase notification text field length on database
This commit is contained in:
parent
8238b329e3
commit
bd3d7d98ff
2 changed files with 8 additions and 2 deletions
|
@ -0,0 +1,5 @@
|
||||||
|
class ChangeNotificationTextTypeToText < ActiveRecord::Migration[6.1]
|
||||||
|
def change
|
||||||
|
change_column :notifications, :text, :text
|
||||||
|
end
|
||||||
|
end
|
|
@ -2215,7 +2215,7 @@ ALTER SEQUENCE public.nameservers_id_seq OWNED BY public.nameservers.id;
|
||||||
CREATE TABLE public.notifications (
|
CREATE TABLE public.notifications (
|
||||||
id integer NOT NULL,
|
id integer NOT NULL,
|
||||||
registrar_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_type character varying,
|
||||||
attached_obj_id integer,
|
attached_obj_id integer,
|
||||||
read boolean NOT NULL,
|
read boolean NOT NULL,
|
||||||
|
@ -5412,4 +5412,5 @@ INSERT INTO "schema_migrations" (version) VALUES
|
||||||
('20220413084536'),
|
('20220413084536'),
|
||||||
('20220413084748'),
|
('20220413084748'),
|
||||||
('20220504090512'),
|
('20220504090512'),
|
||||||
('20220406085500');
|
('20220406085500')
|
||||||
|
('20220701113409');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue