diff --git a/db/migrate/20180825153657_add_text_tag_to_notifications.rb b/db/migrate/20180825153657_add_text_tag_to_notifications.rb new file mode 100644 index 000000000..4e528468b --- /dev/null +++ b/db/migrate/20180825153657_add_text_tag_to_notifications.rb @@ -0,0 +1,5 @@ +class AddTextTagToNotifications < ActiveRecord::Migration + def change + add_column :notifications, :text_tag, :string + end +end diff --git a/db/structure.sql b/db/structure.sql index cc1019f47..5fea474e6 100644 --- a/db/structure.sql +++ b/db/structure.sql @@ -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'); +