mirror of
https://github.com/internetee/registry.git
synced 2025-05-16 09:27:19 +02:00
parent
e424c6ec01
commit
8e983b1d9c
2 changed files with 24 additions and 22 deletions
|
@ -479,8 +479,10 @@ ActiveRecord::Schema.define(version: 20161227193500) do
|
|||
t.datetime "created_at"
|
||||
t.string "creator_str"
|
||||
t.string "path"
|
||||
t.string "checksum"
|
||||
end
|
||||
|
||||
add_index "legal_documents", ["checksum"], name: "index_legal_documents_on_checksum", using: :btree
|
||||
add_index "legal_documents", ["documentable_type", "documentable_id"], name: "index_legal_documents_on_documentable_type_and_documentable_id", using: :btree
|
||||
|
||||
create_table "log_account_activities", force: :cascade do |t|
|
||||
|
@ -956,10 +958,10 @@ ActiveRecord::Schema.define(version: 20161227193500) do
|
|||
|
||||
create_table "nameservers", force: :cascade do |t|
|
||||
t.string "hostname"
|
||||
t.string "ipv4", array: true
|
||||
t.string "ipv4", default: [], array: true
|
||||
t.datetime "created_at"
|
||||
t.datetime "updated_at"
|
||||
t.string "ipv6", array: true
|
||||
t.string "ipv6", default: [], array: true
|
||||
t.integer "domain_id"
|
||||
t.string "creator_str"
|
||||
t.string "updator_str"
|
||||
|
@ -1049,7 +1051,8 @@ ActiveRecord::Schema.define(version: 20161227193500) do
|
|||
t.boolean "vat"
|
||||
t.integer "legacy_id"
|
||||
t.string "reference_no"
|
||||
t.boolean "test_registrar", default: false
|
||||
t.boolean "exclude_in_monthly_directo", default: false
|
||||
t.boolean "test_registrar", default: false
|
||||
end
|
||||
|
||||
add_index "registrars", ["code"], name: "index_registrars_on_code", using: :btree
|
||||
|
@ -1065,8 +1068,6 @@ ActiveRecord::Schema.define(version: 20161227193500) do
|
|||
t.string "password"
|
||||
end
|
||||
|
||||
add_index "reserved_domains", ["name"], name: "index_reserved_domains_on_name", using: :btree
|
||||
|
||||
create_table "settings", force: :cascade do |t|
|
||||
t.string "var", null: false
|
||||
t.text "value"
|
||||
|
|
|
@ -1321,7 +1321,8 @@ CREATE TABLE legal_documents (
|
|||
documentable_type character varying,
|
||||
created_at timestamp without time zone,
|
||||
creator_str character varying,
|
||||
path character varying
|
||||
path character varying,
|
||||
checksum character varying
|
||||
);
|
||||
|
||||
|
||||
|
@ -2492,10 +2493,10 @@ ALTER SEQUENCE messages_id_seq OWNED BY messages.id;
|
|||
CREATE TABLE nameservers (
|
||||
id integer NOT NULL,
|
||||
hostname character varying,
|
||||
ipv4 character varying[],
|
||||
ipv4 character varying[] DEFAULT '{}'::character varying[],
|
||||
created_at timestamp without time zone,
|
||||
updated_at timestamp without time zone,
|
||||
ipv6 character varying[],
|
||||
ipv6 character varying[] DEFAULT '{}'::character varying[],
|
||||
domain_id integer,
|
||||
creator_str character varying,
|
||||
updator_str character varying,
|
||||
|
@ -2708,6 +2709,7 @@ CREATE TABLE registrars (
|
|||
vat boolean,
|
||||
legacy_id integer,
|
||||
reference_no character varying,
|
||||
exclude_in_monthly_directo boolean DEFAULT false,
|
||||
test_registrar boolean DEFAULT false
|
||||
);
|
||||
|
||||
|
@ -4309,6 +4311,13 @@ CREATE INDEX index_keyrelays_on_domain_id ON keyrelays USING btree (domain_id);
|
|||
CREATE INDEX index_keyrelays_on_requester_id ON keyrelays USING btree (requester_id);
|
||||
|
||||
|
||||
--
|
||||
-- Name: index_legal_documents_on_checksum; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
||||
--
|
||||
|
||||
CREATE INDEX index_legal_documents_on_checksum ON legal_documents USING btree (checksum);
|
||||
|
||||
|
||||
--
|
||||
-- Name: index_legal_documents_on_documentable_type_and_documentable_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
||||
--
|
||||
|
@ -4736,13 +4745,6 @@ CREATE INDEX index_registrars_on_code ON registrars USING btree (code);
|
|||
CREATE INDEX index_registrars_on_legacy_id ON registrars USING btree (legacy_id);
|
||||
|
||||
|
||||
--
|
||||
-- Name: index_reserved_domains_on_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
||||
--
|
||||
|
||||
CREATE INDEX index_reserved_domains_on_name ON reserved_domains USING btree (name);
|
||||
|
||||
|
||||
--
|
||||
-- Name: index_settings_on_thing_type_and_thing_id_and_var; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
||||
--
|
||||
|
@ -4785,13 +4787,6 @@ CREATE INDEX index_whois_records_on_registrar_id ON whois_records USING btree (r
|
|||
CREATE INDEX log_contacts_object_legacy_id ON log_contacts USING btree ((((object ->> 'legacy_id'::text))::integer));
|
||||
|
||||
|
||||
--
|
||||
-- Name: log_contacts_object_legacy_id1; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
||||
--
|
||||
|
||||
CREATE INDEX log_contacts_object_legacy_id1 ON log_contacts USING btree ((((object ->> 'legacy_id'::text))::integer));
|
||||
|
||||
|
||||
--
|
||||
-- Name: log_dnskeys_object_legacy_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
||||
--
|
||||
|
@ -5185,6 +5180,8 @@ INSERT INTO schema_migrations (version) VALUES ('20150706091724');
|
|||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20150707103241');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20150707103801');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20150707104937');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20150707154543');
|
||||
|
@ -5259,6 +5256,8 @@ INSERT INTO schema_migrations (version) VALUES ('20160226132056');
|
|||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20160304125933');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20160311085956');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20160311085957');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20160405131315');
|
||||
|
@ -5273,6 +5272,8 @@ INSERT INTO schema_migrations (version) VALUES ('20160429114732');
|
|||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20160527110738');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20160629114503');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20161004101419');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20161227193500');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue