mirror of
https://github.com/neocities/neocities.git
synced 2025-08-04 00:31:59 +02:00
add experimental custom domain support
This commit is contained in:
parent
237ce5f419
commit
8014a21c2c
8 changed files with 103 additions and 2 deletions
|
@ -4,6 +4,6 @@ Sequel.migration do
|
|||
}
|
||||
|
||||
down {
|
||||
DB.add_column :sites, :is_nsfw
|
||||
DB.drop_column :sites, :is_nsfw
|
||||
}
|
||||
end
|
9
migrations/017_add_domain.rb
Normal file
9
migrations/017_add_domain.rb
Normal file
|
@ -0,0 +1,9 @@
|
|||
Sequel.migration do
|
||||
up {
|
||||
DB.add_column :sites, :domain, :text, default: nil
|
||||
}
|
||||
|
||||
down {
|
||||
DB.drop_column :sites, :domain
|
||||
}
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue