mirror of
https://github.com/neocities/neocities.git
synced 2025-08-05 17:18:02 +02:00
allow adding of ssl certs for domain
This commit is contained in:
parent
92fcee0aea
commit
af605f352e
7 changed files with 307 additions and 14 deletions
12
migrations/040_add_ssl.rb
Normal file
12
migrations/040_add_ssl.rb
Normal file
|
@ -0,0 +1,12 @@
|
|||
Sequel.migration do
|
||||
up {
|
||||
DB.add_column :sites, :ssl_key, :text
|
||||
DB.add_column :sites, :ssl_cert, :text
|
||||
|
||||
}
|
||||
|
||||
down {
|
||||
DB.drop_column :sites, :ssl_key
|
||||
DB.drop_column :sites, :ssl_cert
|
||||
}
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue