diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2017-01-12 11:18:42 +0000 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2017-01-12 11:18:42 +0000 |
commit | 50fff719fc148ac9f6f6a309770c6136a3aeb31b (patch) | |
tree | 41b5b02207d66ef079b7b242b046822211c990d9 /db | |
parent | e798ee718312dbe7445ec9cf2e75045e8b2b3117 (diff) | |
parent | f986b4c4e529f4c2518f0ce37dc9dfcaa2f073a0 (diff) | |
download | gitlab-ce-20450-retry-build-button.tar.gz |
Merge branch 'Sanson/gitlab-ce-asciidoctor-plantuml' into 'master'
20450-retry-build-button
Add support for PlantUML diagrams in Asciidoc.
Closes #17603
See merge request !8537
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20161201001911_add_plant_uml_url_to_application_settings.rb | 12 | ||||
-rw-r--r-- | db/migrate/20161206003819_add_plant_uml_enabled_to_application_settings.rb | 12 | ||||
-rw-r--r-- | db/schema.rb | 2 |
3 files changed, 26 insertions, 0 deletions
diff --git a/db/migrate/20161201001911_add_plant_uml_url_to_application_settings.rb b/db/migrate/20161201001911_add_plant_uml_url_to_application_settings.rb new file mode 100644 index 00000000000..b8d8742ae40 --- /dev/null +++ b/db/migrate/20161201001911_add_plant_uml_url_to_application_settings.rb @@ -0,0 +1,12 @@ +# See http://doc.gitlab.com/ce/development/migration_style_guide.html +# for more information on how to write migrations for GitLab. + +class AddPlantUmlUrlToApplicationSettings < ActiveRecord::Migration + include Gitlab::Database::MigrationHelpers + + DOWNTIME = false + + def change + add_column :application_settings, :plantuml_url, :string + end +end diff --git a/db/migrate/20161206003819_add_plant_uml_enabled_to_application_settings.rb b/db/migrate/20161206003819_add_plant_uml_enabled_to_application_settings.rb new file mode 100644 index 00000000000..3677f978cc2 --- /dev/null +++ b/db/migrate/20161206003819_add_plant_uml_enabled_to_application_settings.rb @@ -0,0 +1,12 @@ +# See http://doc.gitlab.com/ce/development/migration_style_guide.html +# for more information on how to write migrations for GitLab. + +class AddPlantUmlEnabledToApplicationSettings < ActiveRecord::Migration + include Gitlab::Database::MigrationHelpers + + DOWNTIME = false + + def change + add_column :application_settings, :plantuml_enabled, :boolean + end +end diff --git a/db/schema.rb b/db/schema.rb index f3bf7ced393..c58a886b0fa 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -107,6 +107,8 @@ ActiveRecord::Schema.define(version: 20170106172224) do t.integer "housekeeping_full_repack_period", default: 50, null: false t.integer "housekeeping_gc_period", default: 200, null: false t.boolean "html_emails_enabled", default: true + t.string "plantuml_url" + t.boolean "plantuml_enabled" end create_table "audit_events", force: :cascade do |t| |