21
1
Fork 0
mirror of https://github.com/Evolix/chexpire.git synced 2024-04-29 07:20:50 +02:00
chexpire/db/migrate/20180602154319_rename_checks_domain_expire_at_to_domain_expires_at.rb
2018-08-02 00:29:53 +02:00

9 lines
305 B
Ruby

# Copyright (C) 2018 Colin Darie <colin@darie.eu>, 2018 Evolix <info@evolix.fr>
# License: GNU AGPL-3+ (see full text in LICENSE file)
class RenameChecksDomainExpireAtToDomainExpiresAt < ActiveRecord::Migration[5.2]
def change
rename_column :checks, :domain_expire_at, :domain_expires_at
end
end