summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-12-05 15:13:35 +0000
committerRémy Coutable <remy@rymai.me>2017-12-05 15:13:35 +0000
commit844d95fb74d0732d4354c4d0ebfdaa5d12e5588e (patch)
tree20716afc70d5be8f74c8a180b063d91996b63878 /db
parent003a816afa885d56aa1eb4aadbad2b13b1baa25b (diff)
parentb8a393192529015bc2fa9d04c2782cf96e7ec896 (diff)
downloadgitlab-ce-844d95fb74d0732d4354c4d0ebfdaa5d12e5588e.tar.gz
Merge branch 'feature/custom-text-for-new-projects' into 'master'
Add custom brand text on new project pages Closes #15265 See merge request gitlab-org/gitlab-ce!15541
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20171122131600_add_new_project_guidelines_to_appearances.rb12
-rw-r--r--db/schema.rb2
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 8e5bcc8b51d..0984ca6487f 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|