mirror of
https://github.com/internetee/registry.git
synced 2025-07-02 17:23:34 +02:00
Show only priv contacts
This commit is contained in:
parent
e20de5b793
commit
2ed9672eb5
8 changed files with 28 additions and 3 deletions
5
db/migrate/20150511120755_add_index_to_contact_type.rb
Normal file
5
db/migrate/20150511120755_add_index_to_contact_type.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
class AddIndexToContactType < ActiveRecord::Migration
|
||||
def change
|
||||
add_index :contacts, [:registrar_id, :ident_type]
|
||||
end
|
||||
end
|
|
@ -11,7 +11,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20150505111437) do
|
||||
ActiveRecord::Schema.define(version: 20150511120755) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
@ -188,6 +188,7 @@ ActiveRecord::Schema.define(version: 20150505111437) do
|
|||
end
|
||||
|
||||
add_index "contacts", ["code"], name: "index_contacts_on_code", using: :btree
|
||||
add_index "contacts", ["registrar_id", "ident_type"], name: "index_contacts_on_registrar_id_and_ident_type", using: :btree
|
||||
add_index "contacts", ["registrar_id"], name: "index_contacts_on_registrar_id", using: :btree
|
||||
|
||||
create_table "countries", force: :cascade do |t|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue