forked from e621ng/e621ng
parent
f408fec54f
commit
1600ecdf77
@ -0,0 +1,5 @@
|
||||
class RemoveMascotsSafeModeOnly < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
remove_column :mascots, :safe_mode_only, type: :boolean, default: false, null: false
|
||||
end
|
||||
end
|
@ -83,7 +83,7 @@ def import_mascots
|
||||
background_color: mascot["background_color"],
|
||||
artist_url: mascot["artist_url"],
|
||||
artist_name: mascot["artist_name"],
|
||||
safe_mode_only: mascot["safe_mode_only"],
|
||||
available_on_string: Danbooru.config.app_name,
|
||||
active: mascot["active"],
|
||||
)
|
||||
end
|
||||
|
@ -998,7 +998,6 @@ CREATE TABLE public.mascots (
|
||||
background_color character varying NOT NULL,
|
||||
artist_url character varying NOT NULL,
|
||||
artist_name character varying NOT NULL,
|
||||
safe_mode_only boolean DEFAULT false NOT NULL,
|
||||
active boolean DEFAULT true NOT NULL,
|
||||
created_at timestamp(6) without time zone NOT NULL,
|
||||
updated_at timestamp(6) without time zone NOT NULL,
|
||||
@ -4795,6 +4794,7 @@ INSERT INTO "schema_migrations" (version) VALUES
|
||||
('20230203162010'),
|
||||
('20230204141325'),
|
||||
('20230210092829'),
|
||||
('20230219115601');
|
||||
('20230219115601'),
|
||||
('20230221145226');
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user