mirror of
https://github.com/internetee/registry.git
synced 2025-07-24 19:48:28 +02:00
parent 64e3bc885a2cb8b46a1aaa4bf4f121ee7f5d44a6
author Karl Erik Õunapuu <karlerik@kreative.ee> 1591359032 +0300 committer Alex Sherman <yul.golem@gmail.com> 1617029320 +0500 CsyncJob: Don't respect IPv6 if nessecary
This commit is contained in:
parent
e46fdd57af
commit
88e1bc3727
33 changed files with 1475 additions and 119 deletions
12
db/migrate/20200605125332_create_csync_records.rb
Normal file
12
db/migrate/20200605125332_create_csync_records.rb
Normal file
|
@ -0,0 +1,12 @@
|
|||
class CreateCsyncRecords < ActiveRecord::Migration[6.0]
|
||||
def change
|
||||
create_table :csync_records do |t|
|
||||
t.belongs_to :domain, foreign_key: true, null: false, index: { unique: true }
|
||||
t.string :cdnskey, null: false
|
||||
t.string :action, null: false
|
||||
t.integer :times_scanned, null: false, default: 0
|
||||
t.datetime :last_scan, null: false
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue