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:
Karl Erik Õunapuu 2020-06-05 15:10:32 +03:00 committed by Alex Sherman
parent e46fdd57af
commit 88e1bc3727
33 changed files with 1475 additions and 119 deletions

View 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