mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 10:16:01 +02:00
Remove unused DB column
This commit is contained in:
parent
058a84945a
commit
1938c8e6cf
3 changed files with 7 additions and 4 deletions
|
@ -0,0 +1,5 @@
|
|||
class RemoveDomainContactsContactType < ActiveRecord::Migration
|
||||
def change
|
||||
remove_column :domain_contacts, :contact_type, :string
|
||||
end
|
||||
end
|
|
@ -884,7 +884,6 @@ CREATE TABLE domain_contacts (
|
|||
id integer NOT NULL,
|
||||
contact_id integer,
|
||||
domain_id integer,
|
||||
contact_type character varying,
|
||||
created_at timestamp without time zone,
|
||||
updated_at timestamp without time zone,
|
||||
contact_code_cache character varying,
|
||||
|
@ -5060,3 +5059,5 @@ INSERT INTO schema_migrations (version) VALUES ('20171121233843');
|
|||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20171123035941');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20180112080312');
|
||||
|
||||
|
|
|
@ -812,7 +812,6 @@
|
|||
<text text-anchor="start" x="1969" y="-1338.8" font-family="Times,serif" font-size="14.00">id :integer</text>
|
||||
<text text-anchor="start" x="1969" y="-1323.8" font-family="Times,serif" font-size="14.00">contact_id :integer</text>
|
||||
<text text-anchor="start" x="1969" y="-1308.8" font-family="Times,serif" font-size="14.00">domain_id :integer</text>
|
||||
<text text-anchor="start" x="1969" y="-1293.8" font-family="Times,serif" font-size="14.00">contact_type :string</text>
|
||||
<text text-anchor="start" x="1969" y="-1278.8" font-family="Times,serif" font-size="14.00">created_at :datetime</text>
|
||||
<text text-anchor="start" x="1969" y="-1263.8" font-family="Times,serif" font-size="14.00">updated_at :datetime</text>
|
||||
<text text-anchor="start" x="1969" y="-1248.8" font-family="Times,serif" font-size="14.00">contact_code_cache :string</text>
|
||||
|
@ -1066,7 +1065,6 @@
|
|||
<text text-anchor="start" x="1832" y="-661.3" font-family="Times,serif" font-size="14.00">id :integer</text>
|
||||
<text text-anchor="start" x="1832" y="-646.3" font-family="Times,serif" font-size="14.00">contact_id :integer</text>
|
||||
<text text-anchor="start" x="1832" y="-631.3" font-family="Times,serif" font-size="14.00">domain_id :integer</text>
|
||||
<text text-anchor="start" x="1832" y="-616.3" font-family="Times,serif" font-size="14.00">contact_type :string</text>
|
||||
<text text-anchor="start" x="1832" y="-601.3" font-family="Times,serif" font-size="14.00">created_at :datetime</text>
|
||||
<text text-anchor="start" x="1832" y="-586.3" font-family="Times,serif" font-size="14.00">updated_at :datetime</text>
|
||||
<text text-anchor="start" x="1832" y="-571.3" font-family="Times,serif" font-size="14.00">contact_code_cache :string</text>
|
||||
|
@ -1345,7 +1343,6 @@
|
|||
<text text-anchor="start" x="2151" y="-1338.8" font-family="Times,serif" font-size="14.00">id :integer</text>
|
||||
<text text-anchor="start" x="2151" y="-1323.8" font-family="Times,serif" font-size="14.00">contact_id :integer</text>
|
||||
<text text-anchor="start" x="2151" y="-1308.8" font-family="Times,serif" font-size="14.00">domain_id :integer</text>
|
||||
<text text-anchor="start" x="2151" y="-1293.8" font-family="Times,serif" font-size="14.00">contact_type :string</text>
|
||||
<text text-anchor="start" x="2151" y="-1278.8" font-family="Times,serif" font-size="14.00">created_at :datetime</text>
|
||||
<text text-anchor="start" x="2151" y="-1263.8" font-family="Times,serif" font-size="14.00">updated_at :datetime</text>
|
||||
<text text-anchor="start" x="2151" y="-1248.8" font-family="Times,serif" font-size="14.00">contact_code_cache :string</text>
|
||||
|
|
Before Width: | Height: | Size: 232 KiB After Width: | Height: | Size: 231 KiB |
Loading…
Add table
Add a link
Reference in a new issue