mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 10:16:01 +02:00
Added custom contact id support
This commit is contained in:
parent
aa5cc83344
commit
767f7bb6df
13 changed files with 195 additions and 42 deletions
6
db/migrate/20150303130729_add_code_to_registrar.rb
Normal file
6
db/migrate/20150303130729_add_code_to_registrar.rb
Normal file
|
@ -0,0 +1,6 @@
|
|||
class AddCodeToRegistrar < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :registrars, :code, :string
|
||||
add_index :registrars, :code
|
||||
end
|
||||
end
|
|
@ -11,7 +11,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20150227113121) do
|
||||
ActiveRecord::Schema.define(version: 20150303130729) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
@ -611,8 +611,11 @@ ActiveRecord::Schema.define(version: 20150227113121) do
|
|||
t.string "city"
|
||||
t.string "street"
|
||||
t.string "zip"
|
||||
t.string "code"
|
||||
end
|
||||
|
||||
add_index "registrars", ["code"], name: "index_registrars_on_code", using: :btree
|
||||
|
||||
create_table "reserved_domains", force: :cascade do |t|
|
||||
t.string "name"
|
||||
t.datetime "created_at"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue