Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
895efdfb
Commit
895efdfb
authored
Jul 20, 2017
by
Alexis Reigel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use text instead of string for db columns
parent
8e0c33ed
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
db/migrate/20170613154149_create_gpg_signatures.rb
db/migrate/20170613154149_create_gpg_signatures.rb
+2
-2
db/schema.rb
db/schema.rb
+2
-2
No files found.
db/migrate/20170613154149_create_gpg_signatures.rb
View file @
895efdfb
...
@@ -13,8 +13,8 @@ class CreateGpgSignatures < ActiveRecord::Migration
...
@@ -13,8 +13,8 @@ class CreateGpgSignatures < ActiveRecord::Migration
t
.
binary
:commit_sha
,
limit:
Gitlab
::
Database
.
mysql?
?
20
:
nil
t
.
binary
:commit_sha
,
limit:
Gitlab
::
Database
.
mysql?
?
20
:
nil
t
.
binary
:gpg_key_primary_keyid
,
limit:
Gitlab
::
Database
.
mysql?
?
20
:
nil
t
.
binary
:gpg_key_primary_keyid
,
limit:
Gitlab
::
Database
.
mysql?
?
20
:
nil
t
.
string
:gpg_key_user_name
t
.
text
:gpg_key_user_name
t
.
string
:gpg_key_user_email
t
.
text
:gpg_key_user_email
t
.
index
:commit_sha
t
.
index
:commit_sha
t
.
index
:gpg_key_primary_keyid
t
.
index
:gpg_key_primary_keyid
...
...
db/schema.rb
View file @
895efdfb
...
@@ -560,8 +560,8 @@ ActiveRecord::Schema.define(version: 20170725145659) do
...
@@ -560,8 +560,8 @@ ActiveRecord::Schema.define(version: 20170725145659) do
t
.
boolean
"valid_signature"
t
.
boolean
"valid_signature"
t
.
binary
"commit_sha"
t
.
binary
"commit_sha"
t
.
binary
"gpg_key_primary_keyid"
t
.
binary
"gpg_key_primary_keyid"
t
.
string
"gpg_key_user_name"
t
.
text
"gpg_key_user_name"
t
.
string
"gpg_key_user_email"
t
.
text
"gpg_key_user_email"
end
end
add_index
"gpg_signatures"
,
[
"commit_sha"
],
name:
"index_gpg_signatures_on_commit_sha"
,
using: :btree
add_index
"gpg_signatures"
,
[
"commit_sha"
],
name:
"index_gpg_signatures_on_commit_sha"
,
using: :btree
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment