mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: Multiple embeddable hosts
- Also refactors two site settings components into one, with tests
This commit is contained in:
5
db/migrate/20150609163211_migrate_embeddable_host.rb
Normal file
5
db/migrate/20150609163211_migrate_embeddable_host.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class MigrateEmbeddableHost < ActiveRecord::Migration
|
||||
def change
|
||||
execute "UPDATE site_settings SET name = 'embeddable_hosts', data_type = 9 WHERE name = 'embeddable_host'"
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user