Add notification text tag

This commit is contained in:
Artur Beljajev 2018-08-25 21:34:52 +03:00
parent 412641cdb0
commit 00167a781d
2 changed files with 9 additions and 1 deletions

View file

@ -0,0 +1,5 @@
class AddTextTagToNotifications < ActiveRecord::Migration
def change
add_column :notifications, :text_tag, :string
end
end

View file

@ -2006,7 +2006,8 @@ CREATE TABLE public.notifications (
created_at timestamp without time zone,
updated_at timestamp without time zone,
creator_str character varying,
updator_str character varying
updator_str character varying,
text_tag character varying
);
@ -4769,3 +4770,5 @@ INSERT INTO schema_migrations (version) VALUES ('20180823212823');
INSERT INTO schema_migrations (version) VALUES ('20180824102834');
INSERT INTO schema_migrations (version) VALUES ('20180825153657');