You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
316 B
13 lines
316 B
4 years ago
|
class CreateIpBlocks < ActiveRecord::Migration[5.2]
|
||
|
def change
|
||
|
create_table :ip_blocks do |t|
|
||
|
t.inet :ip, null: false, default: '0.0.0.0'
|
||
|
t.integer :severity, null: false, default: 0
|
||
|
t.datetime :expires_at
|
||
|
t.text :comment, null: false, default: ''
|
||
|
|
||
|
t.timestamps
|
||
|
end
|
||
|
end
|
||
|
end
|