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
8d1321d6
Commit
8d1321d6
authored
Aug 16, 2017
by
Rubén Dávila
Committed by
Ruben Davila
Sep 06, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add theme_id column to users table
parent
86cbf60c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
db/migrate/20170816234252_add_theme_id_to_users.rb
db/migrate/20170816234252_add_theme_id_to_users.rb
+10
-0
db/schema.rb
db/schema.rb
+1
-0
No files found.
db/migrate/20170816234252_add_theme_id_to_users.rb
0 → 100644
View file @
8d1321d6
# See http://doc.gitlab.com/ce/development/migration_style_guide.html
# for more information on how to write migrations for GitLab.
class
AddThemeIdToUsers
<
ActiveRecord
::
Migration
DOWNTIME
=
false
def
change
add_column
:users
,
:theme_id
,
:integer
,
limit:
2
end
end
db/schema.rb
View file @
8d1321d6
...
...
@@ -1614,6 +1614,7 @@ ActiveRecord::Schema.define(version: 20170905112933) do
t
.
boolean
"notified_of_own_activity"
t
.
string
"preferred_language"
t
.
string
"rss_token"
t
.
integer
"theme_id"
,
limit:
2
end
add_index
"users"
,
[
"admin"
],
name:
"index_users_on_admin"
,
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