diff --git a/db/structure.sql b/db/structure.sql index bd0d7e3e..7a350c1f 100644 --- a/db/structure.sql +++ b/db/structure.sql @@ -95,8 +95,6 @@ WHERE (supporters.id=NEW.supporter_id)) AS data SET default_tablespace = ''; -SET default_with_oids = false; - -- -- Name: active_storage_attachments; Type: TABLE; Schema: public; Owner: - -- @@ -1691,7 +1689,6 @@ CREATE TABLE public.profiles ( state_code character varying(255), city character varying(255), privacy_settings text, - picture character varying(255), phone character varying(255), address character varying(255), anonymous boolean, diff --git a/gems/houdini_upgrade/db/migrate/20200602215911_remove_picture_from_profile.rb b/gems/houdini_upgrade/db/migrate/20200602215911_remove_picture_from_profile.rb new file mode 100644 index 00000000..b40f03bf --- /dev/null +++ b/gems/houdini_upgrade/db/migrate/20200602215911_remove_picture_from_profile.rb @@ -0,0 +1,8 @@ +# frozen_string_literal: true + +# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later +class RemovePictureFromProfile < ActiveRecord::Migration[6.0] + def change + remove_column :profiles, :picture + end +end