mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 17:28:18 +02:00
Add revoked boolean to Certificate model
This commit is contained in:
parent
1a58d85f15
commit
90f933a5a1
2 changed files with 10 additions and 2 deletions
5
db/migrate/20200505103316_add_revoked_to_certificate.rb
Normal file
5
db/migrate/20200505103316_add_revoked_to_certificate.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
class AddRevokedToCertificate < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
add_column :certificates, :revoked, :boolean, null: false, default: false
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue