diff options
author | Markus Koller <markus.koller.ext@siemens.com> | 2017-11-22 14:48:38 +0100 |
---|---|---|
committer | Markus Koller <markus.koller.ext@siemens.com> | 2017-12-04 17:22:59 +0100 |
commit | b8a393192529015bc2fa9d04c2782cf96e7ec896 (patch) | |
tree | fdf99629e27efe4b6ecfbe30228589eb22df0001 /db | |
parent | 0f3f50d188e5c3f458d65b91765f080288cb06ab (diff) | |
download | gitlab-ce-b8a393192529015bc2fa9d04c2782cf96e7ec896.tar.gz |
Add custom brand text on new project pages
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20171122131600_add_new_project_guidelines_to_appearances.rb | 12 | ||||
-rw-r--r-- | db/schema.rb | 2 |
2 files changed, 14 insertions, 0 deletions
diff --git a/db/migrate/20171122131600_add_new_project_guidelines_to_appearances.rb b/db/migrate/20171122131600_add_new_project_guidelines_to_appearances.rb new file mode 100644 index 00000000000..f141c442d97 --- /dev/null +++ b/db/migrate/20171122131600_add_new_project_guidelines_to_appearances.rb @@ -0,0 +1,12 @@ +class AddNewProjectGuidelinesToAppearances < ActiveRecord::Migration + include Gitlab::Database::MigrationHelpers + + DOWNTIME = false + + def change + change_table :appearances do |t| + t.text :new_project_guidelines + t.text :new_project_guidelines_html + end + end +end diff --git a/db/schema.rb b/db/schema.rb index effb2604af2..ad4c7f690d1 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -36,6 +36,8 @@ ActiveRecord::Schema.define(version: 20171124150326) do t.datetime_with_timezone "updated_at", null: false t.text "description_html" t.integer "cached_markdown_version" + t.text "new_project_guidelines" + t.text "new_project_guidelines_html" end create_table "application_settings", force: :cascade do |t| |