mirror of
https://github.com/internetee/registry.git
synced 2025-06-05 04:07:33 +02:00
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
12 lines
399 B
Ruby
12 lines
399 B
Ruby
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
|