summaryrefslogtreecommitdiff
path: root/db/schema.rb
diff options
context:
space:
mode:
authorAsh McKenzie <amckenzie@gitlab.com>2018-12-27 17:46:38 +1100
committerAsh McKenzie <amckenzie@gitlab.com>2019-09-11 14:53:13 +1000
commit0e31b424fb9a07ea5ba8f6d864ff726533e8ba85 (patch)
treeac192e1c9f50ed114e332f81303621a1134af49b /db/schema.rb
parentbd7e1e554b3d68f31bc1f8b23e568a9950d597e0 (diff)
downloadgitlab-ce-13235-secret-snippets.tar.gz
Add Secret support for Snippets13235-secret-snippets
Snippets can now be created as type Secret which are non-searched Snippets that can accessed publicly if the correct secret_word is known.
Diffstat (limited to 'db/schema.rb')
-rw-r--r--db/schema.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/db/schema.rb b/db/schema.rb
index 70f3a42e7f8..f92a93a8518 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -3238,6 +3238,9 @@ ActiveRecord::Schema.define(version: 2019_09_05_223900) do
t.integer "cached_markdown_version"
t.text "description"
t.text "description_html"
+ t.string "encrypted_secret"
+ t.string "encrypted_secret_iv"
+ t.string "encrypted_secret_salt"
t.index ["author_id"], name: "index_snippets_on_author_id"
t.index ["file_name"], name: "index_snippets_on_file_name_trigram", opclass: :gin_trgm_ops, using: :gin
t.index ["project_id"], name: "index_snippets_on_project_id"