mirror of
https://github.com/internetee/registry.git
synced 2025-07-01 08:43:37 +02:00
Create white ips
This commit is contained in:
parent
254849494f
commit
8e37355e13
15 changed files with 246 additions and 3 deletions
11
db/migrate/20150519115050_create_white_ip.rb
Normal file
11
db/migrate/20150519115050_create_white_ip.rb
Normal file
|
@ -0,0 +1,11 @@
|
|||
class CreateWhiteIp < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :white_ips do |t|
|
||||
t.integer :registrar_id
|
||||
t.string :ipv4
|
||||
t.string :ipv6
|
||||
t.string :interface
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
11
db/schema.rb
11
db/schema.rb
|
@ -11,7 +11,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20150518084324) do
|
||||
ActiveRecord::Schema.define(version: 20150519115050) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
@ -928,6 +928,15 @@ ActiveRecord::Schema.define(version: 20150518084324) do
|
|||
t.text "depricated_table_but_somehow_paper_trail_tests_fails_without_it"
|
||||
end
|
||||
|
||||
create_table "white_ips", force: :cascade do |t|
|
||||
t.integer "registrar_id"
|
||||
t.string "ipv4"
|
||||
t.string "ipv6"
|
||||
t.string "interface"
|
||||
t.datetime "created_at"
|
||||
t.datetime "updated_at"
|
||||
end
|
||||
|
||||
create_table "whois_records", force: :cascade do |t|
|
||||
t.integer "domain_id"
|
||||
t.string "name"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue