17 lines
380 B
Ruby
17 lines
380 B
Ruby
class CreateGeoIpDatabases < ActiveRecord::Migration[8.1]
|
|
def change
|
|
create_table :geo_ip_databases do |t|
|
|
t.string :database_type
|
|
t.string :version
|
|
t.string :file_path
|
|
t.integer :file_size
|
|
t.string :checksum_md5
|
|
t.datetime :downloaded_at
|
|
t.datetime :last_checked_at
|
|
t.boolean :is_active
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|