mirror of
https://github.com/internetee/registry.git
synced 2025-07-22 10:45:58 +02:00
parent
640faaadb9
commit
42e8f86dae
51 changed files with 1619 additions and 53 deletions
|
@ -402,6 +402,39 @@ CREATE SEQUENCE public.actions_id_seq
|
|||
ALTER SEQUENCE public.actions_id_seq OWNED BY public.actions.id;
|
||||
|
||||
|
||||
--
|
||||
-- Name: auctions; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
||||
--
|
||||
|
||||
CREATE TABLE public.auctions (
|
||||
id integer NOT NULL,
|
||||
domain character varying NOT NULL,
|
||||
status character varying NOT NULL,
|
||||
uuid uuid DEFAULT public.gen_random_uuid() NOT NULL,
|
||||
created_at timestamp without time zone NOT NULL,
|
||||
registration_code character varying
|
||||
);
|
||||
|
||||
|
||||
--
|
||||
-- Name: auctions_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
||||
--
|
||||
|
||||
CREATE SEQUENCE public.auctions_id_seq
|
||||
START WITH 1
|
||||
INCREMENT BY 1
|
||||
NO MINVALUE
|
||||
NO MAXVALUE
|
||||
CACHE 1;
|
||||
|
||||
|
||||
--
|
||||
-- Name: auctions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
||||
--
|
||||
|
||||
ALTER SEQUENCE public.auctions_id_seq OWNED BY public.auctions.id;
|
||||
|
||||
|
||||
--
|
||||
-- Name: bank_statements; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
||||
--
|
||||
|
@ -2527,6 +2560,13 @@ ALTER TABLE ONLY public.accounts ALTER COLUMN id SET DEFAULT nextval('public.acc
|
|||
ALTER TABLE ONLY public.actions ALTER COLUMN id SET DEFAULT nextval('public.actions_id_seq'::regclass);
|
||||
|
||||
|
||||
--
|
||||
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
||||
--
|
||||
|
||||
ALTER TABLE ONLY public.auctions ALTER COLUMN id SET DEFAULT nextval('public.auctions_id_seq'::regclass);
|
||||
|
||||
|
||||
--
|
||||
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
||||
--
|
||||
|
@ -2922,6 +2962,14 @@ ALTER TABLE ONLY public.actions
|
|||
ADD CONSTRAINT actions_pkey PRIMARY KEY (id);
|
||||
|
||||
|
||||
--
|
||||
-- Name: auctions_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
||||
--
|
||||
|
||||
ALTER TABLE ONLY public.auctions
|
||||
ADD CONSTRAINT auctions_pkey PRIMARY KEY (id);
|
||||
|
||||
|
||||
--
|
||||
-- Name: bank_statements_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
||||
--
|
||||
|
@ -3322,6 +3370,14 @@ ALTER TABLE ONLY public.domains
|
|||
ADD CONSTRAINT uniq_domain_uuid UNIQUE (uuid);
|
||||
|
||||
|
||||
--
|
||||
-- Name: uniq_uuid; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
||||
--
|
||||
|
||||
ALTER TABLE ONLY public.auctions
|
||||
ADD CONSTRAINT uniq_uuid UNIQUE (uuid);
|
||||
|
||||
|
||||
--
|
||||
-- Name: unique_code; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
||||
--
|
||||
|
@ -3354,6 +3410,14 @@ ALTER TABLE ONLY public.registrars
|
|||
ADD CONSTRAINT unique_reference_no UNIQUE (reference_no);
|
||||
|
||||
|
||||
--
|
||||
-- Name: unique_registration_code; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
||||
--
|
||||
|
||||
ALTER TABLE ONLY public.auctions
|
||||
ADD CONSTRAINT unique_registration_code UNIQUE (registration_code);
|
||||
|
||||
|
||||
--
|
||||
-- Name: unique_session_id; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
||||
--
|
||||
|
@ -4864,5 +4928,37 @@ INSERT INTO schema_migrations (version) VALUES ('20181002090319');
|
|||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20181108154921');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20181129150515');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20181212105100');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20181212145456');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20181212145914');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20181213113115');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20181217144701');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20181217144845');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20181220094738');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20181220095053');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20181223153407');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20181226211337');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20181227155537');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20181227172042');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20181230231015');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20190102114702');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20190102115333');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20190102144032');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue