Remove super voters.

This commit is contained in:
evazion
2020-02-23 17:46:13 -06:00
parent 1591df0351
commit ce11485fe0
17 changed files with 18 additions and 267 deletions

View File

@@ -0,0 +1,7 @@
require_relative "20160222211328_create_super_voters"
class DropSuperVoters < ActiveRecord::Migration[6.0]
def change
revert CreateSuperVoters
end
end

View File

@@ -2807,37 +2807,6 @@ CREATE TABLE public.schema_migrations (
);
--
-- Name: super_voters; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.super_voters (
id integer NOT NULL,
user_id integer,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL
);
--
-- Name: super_voters_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--
CREATE SEQUENCE public.super_voters_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: super_voters_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--
ALTER SEQUENCE public.super_voters_id_seq OWNED BY public.super_voters.id;
--
-- Name: tag_aliases; Type: TABLE; Schema: public; Owner: -
--
@@ -4131,13 +4100,6 @@ ALTER TABLE ONLY public.posts ALTER COLUMN id SET DEFAULT nextval('public.posts_
ALTER TABLE ONLY public.saved_searches ALTER COLUMN id SET DEFAULT nextval('public.saved_searches_id_seq'::regclass);
--
-- Name: super_voters id; Type: DEFAULT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.super_voters ALTER COLUMN id SET DEFAULT nextval('public.super_voters_id_seq'::regclass);
--
-- Name: tag_aliases id; Type: DEFAULT; Schema: public; Owner: -
--
@@ -4496,14 +4458,6 @@ ALTER TABLE ONLY public.saved_searches
ADD CONSTRAINT saved_searches_pkey PRIMARY KEY (id);
--
-- Name: super_voters super_voters_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.super_voters
ADD CONSTRAINT super_voters_pkey PRIMARY KEY (id);
--
-- Name: tag_aliases tag_aliases_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
@@ -7352,6 +7306,7 @@ INSERT INTO "schema_migrations" (version) VALUES
('20200119193110'),
('20200123184743'),
('20200217044719'),
('20200223042415');
('20200223042415'),
('20200223234015');