From f36f1ff37b09de0900a67e5dd6ae625c6dd90bfb Mon Sep 17 00:00:00 2001 From: evazion Date: Fri, 9 Sep 2022 15:56:24 -0500 Subject: [PATCH] tags: drop is_locked column. This column was deprecated in 208b6189. Finish removing it. --- db/migrate/20220909205433_drop_is_locked_from_tags.rb | 5 +++++ db/structure.sql | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 db/migrate/20220909205433_drop_is_locked_from_tags.rb diff --git a/db/migrate/20220909205433_drop_is_locked_from_tags.rb b/db/migrate/20220909205433_drop_is_locked_from_tags.rb new file mode 100644 index 000000000..6e8cdbb34 --- /dev/null +++ b/db/migrate/20220909205433_drop_is_locked_from_tags.rb @@ -0,0 +1,5 @@ +class DropIsLockedFromTags < ActiveRecord::Migration[7.0] + def change + remove_column :tags, :is_locked, :boolean, default: false, null: false + end +end diff --git a/db/structure.sql b/db/structure.sql index abe268125..9530b277a 100644 --- a/db/structure.sql +++ b/db/structure.sql @@ -1895,7 +1895,6 @@ CREATE TABLE public.tags ( category integer DEFAULT 0 NOT NULL, created_at timestamp without time zone NOT NULL, updated_at timestamp without time zone NOT NULL, - is_locked boolean DEFAULT false NOT NULL, is_deprecated boolean DEFAULT false NOT NULL, words character varying[] DEFAULT '{}'::character varying[] NOT NULL ); @@ -5985,6 +5984,7 @@ INSERT INTO "schema_migrations" (version) VALUES ('20220525214746'), ('20220623052547'), ('20220627211714'), -('20220829184824'); +('20220829184824'), +('20220909205433');