Remove picture column from profile
This commit is contained in:
parent
354b93bbf9
commit
6028b64cd7
2 changed files with 8 additions and 3 deletions
|
@ -95,8 +95,6 @@ WHERE (supporters.id=NEW.supporter_id)) AS data
|
||||||
|
|
||||||
SET default_tablespace = '';
|
SET default_tablespace = '';
|
||||||
|
|
||||||
SET default_with_oids = false;
|
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Name: active_storage_attachments; Type: TABLE; Schema: public; Owner: -
|
-- Name: active_storage_attachments; Type: TABLE; Schema: public; Owner: -
|
||||||
--
|
--
|
||||||
|
@ -1691,7 +1689,6 @@ CREATE TABLE public.profiles (
|
||||||
state_code character varying(255),
|
state_code character varying(255),
|
||||||
city character varying(255),
|
city character varying(255),
|
||||||
privacy_settings text,
|
privacy_settings text,
|
||||||
picture character varying(255),
|
|
||||||
phone character varying(255),
|
phone character varying(255),
|
||||||
address character varying(255),
|
address character varying(255),
|
||||||
anonymous boolean,
|
anonymous boolean,
|
||||||
|
|
|
@ -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
|
Loading…
Reference in a new issue