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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
193b2e6d
Commit
193b2e6d
authored
Nov 30, 2016
by
Sean McGivern
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix-migrations' into 'master'
Make the `downtime_check` task happy See merge request !7845
parents
2c0d9890
a59e75a1
Changes
22
Show whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
47 additions
and
3 deletions
+47
-3
db/migrate/20130319214458_create_forked_project_links.rb
db/migrate/20130319214458_create_forked_project_links.rb
+2
-0
db/migrate/20130506090604_create_deploy_keys_projects.rb
db/migrate/20130506090604_create_deploy_keys_projects.rb
+2
-0
db/migrate/20130617095603_create_users_groups.rb
db/migrate/20130617095603_create_users_groups.rb
+2
-0
db/migrate/20130711063759_create_project_group_links.rb
db/migrate/20130711063759_create_project_group_links.rb
+2
-0
db/migrate/20131112114325_create_broadcast_messages.rb
db/migrate/20131112114325_create_broadcast_messages.rb
+2
-0
db/migrate/20140122112253_create_merge_request_diffs.rb
db/migrate/20140122112253_create_merge_request_diffs.rb
+2
-0
db/migrate/20140209025651_create_emails.rb
db/migrate/20140209025651_create_emails.rb
+3
-1
db/migrate/20140625115202_create_users_star_projects.rb
db/migrate/20140625115202_create_users_star_projects.rb
+2
-0
db/migrate/20140729134820_create_labels.rb
db/migrate/20140729134820_create_labels.rb
+2
-0
db/migrate/20140729140420_create_label_links.rb
db/migrate/20140729140420_create_label_links.rb
+2
-0
db/migrate/20140914113604_add_members_table.rb
db/migrate/20140914113604_add_members_table.rb
+2
-0
db/migrate/20140914173417_remove_old_member_tables.rb
db/migrate/20140914173417_remove_old_member_tables.rb
+2
-0
db/migrate/20141118150935_add_audit_event.rb
db/migrate/20141118150935_add_audit_event.rb
+2
-0
db/migrate/20141216155758_create_doorkeeper_tables.rb
db/migrate/20141216155758_create_doorkeeper_tables.rb
+2
-0
db/migrate/20150108073740_create_application_settings.rb
db/migrate/20150108073740_create_application_settings.rb
+2
-0
db/migrate/20150313012111_create_subscriptions_table.rb
db/migrate/20150313012111_create_subscriptions_table.rb
+4
-2
db/migrate/20150806104937_create_abuse_reports.rb
db/migrate/20150806104937_create_abuse_reports.rb
+2
-0
db/migrate/20151103134857_create_lfs_objects.rb
db/migrate/20151103134857_create_lfs_objects.rb
+2
-0
db/migrate/20151103134958_create_lfs_objects_projects.rb
db/migrate/20151103134958_create_lfs_objects_projects.rb
+2
-0
db/migrate/20151105094515_create_releases.rb
db/migrate/20151105094515_create_releases.rb
+2
-0
db/migrate/20160212123307_create_tasks.rb
db/migrate/20160212123307_create_tasks.rb
+2
-0
db/migrate/20160416180807_add_award_emoji.rb
db/migrate/20160416180807_add_award_emoji.rb
+2
-0
No files found.
db/migrate/20130319214458_create_forked_project_links.rb
View file @
193b2e6d
# rubocop:disable all
# rubocop:disable all
class
CreateForkedProjectLinks
<
ActiveRecord
::
Migration
class
CreateForkedProjectLinks
<
ActiveRecord
::
Migration
DOWNTIME
=
false
def
change
def
change
create_table
:forked_project_links
do
|
t
|
create_table
:forked_project_links
do
|
t
|
t
.
integer
:forked_to_project_id
,
null:
false
t
.
integer
:forked_to_project_id
,
null:
false
...
...
db/migrate/20130506090604_create_deploy_keys_projects.rb
View file @
193b2e6d
# rubocop:disable all
# rubocop:disable all
class
CreateDeployKeysProjects
<
ActiveRecord
::
Migration
class
CreateDeployKeysProjects
<
ActiveRecord
::
Migration
DOWNTIME
=
false
def
change
def
change
create_table
:deploy_keys_projects
do
|
t
|
create_table
:deploy_keys_projects
do
|
t
|
t
.
integer
:deploy_key_id
,
null:
false
t
.
integer
:deploy_key_id
,
null:
false
...
...
db/migrate/20130617095603_create_users_groups.rb
View file @
193b2e6d
# rubocop:disable all
# rubocop:disable all
class
CreateUsersGroups
<
ActiveRecord
::
Migration
class
CreateUsersGroups
<
ActiveRecord
::
Migration
DOWNTIME
=
false
def
change
def
change
create_table
:users_groups
do
|
t
|
create_table
:users_groups
do
|
t
|
t
.
integer
:group_access
,
null:
false
t
.
integer
:group_access
,
null:
false
...
...
db/migrate/20130711063759_create_project_group_links.rb
View file @
193b2e6d
# rubocop:disable all
# rubocop:disable all
class
CreateProjectGroupLinks
<
ActiveRecord
::
Migration
class
CreateProjectGroupLinks
<
ActiveRecord
::
Migration
DOWNTIME
=
false
def
change
def
change
create_table
:project_group_links
do
|
t
|
create_table
:project_group_links
do
|
t
|
t
.
integer
:project_id
,
null:
false
t
.
integer
:project_id
,
null:
false
...
...
db/migrate/20131112114325_create_broadcast_messages.rb
View file @
193b2e6d
# rubocop:disable all
# rubocop:disable all
class
CreateBroadcastMessages
<
ActiveRecord
::
Migration
class
CreateBroadcastMessages
<
ActiveRecord
::
Migration
DOWNTIME
=
false
def
change
def
change
create_table
:broadcast_messages
do
|
t
|
create_table
:broadcast_messages
do
|
t
|
t
.
text
:message
,
null:
false
t
.
text
:message
,
null:
false
...
...
db/migrate/20140122112253_create_merge_request_diffs.rb
View file @
193b2e6d
# rubocop:disable all
# rubocop:disable all
class
CreateMergeRequestDiffs
<
ActiveRecord
::
Migration
class
CreateMergeRequestDiffs
<
ActiveRecord
::
Migration
DOWNTIME
=
false
def
up
def
up
create_table
:merge_request_diffs
do
|
t
|
create_table
:merge_request_diffs
do
|
t
|
t
.
string
:state
,
null:
false
,
default:
'collected'
t
.
string
:state
,
null:
false
,
default:
'collected'
...
...
db/migrate/20140209025651_create_emails.rb
View file @
193b2e6d
# rubocop:disable all
# rubocop:disable all
class
CreateEmails
<
ActiveRecord
::
Migration
class
CreateEmails
<
ActiveRecord
::
Migration
DOWNTIME
=
false
def
change
def
change
create_table
:emails
do
|
t
|
create_table
:emails
do
|
t
|
t
.
integer
:user_id
,
null:
false
t
.
integer
:user_id
,
null:
false
...
...
db/migrate/20140625115202_create_users_star_projects.rb
View file @
193b2e6d
# rubocop:disable all
# rubocop:disable all
class
CreateUsersStarProjects
<
ActiveRecord
::
Migration
class
CreateUsersStarProjects
<
ActiveRecord
::
Migration
DOWNTIME
=
false
def
change
def
change
create_table
:users_star_projects
do
|
t
|
create_table
:users_star_projects
do
|
t
|
t
.
integer
:project_id
,
null:
false
t
.
integer
:project_id
,
null:
false
...
...
db/migrate/20140729134820_create_labels.rb
View file @
193b2e6d
# rubocop:disable all
# rubocop:disable all
class
CreateLabels
<
ActiveRecord
::
Migration
class
CreateLabels
<
ActiveRecord
::
Migration
DOWNTIME
=
false
def
change
def
change
create_table
:labels
do
|
t
|
create_table
:labels
do
|
t
|
t
.
string
:title
t
.
string
:title
...
...
db/migrate/20140729140420_create_label_links.rb
View file @
193b2e6d
# rubocop:disable all
# rubocop:disable all
class
CreateLabelLinks
<
ActiveRecord
::
Migration
class
CreateLabelLinks
<
ActiveRecord
::
Migration
DOWNTIME
=
false
def
change
def
change
create_table
:label_links
do
|
t
|
create_table
:label_links
do
|
t
|
t
.
integer
:label_id
t
.
integer
:label_id
...
...
db/migrate/20140914113604_add_members_table.rb
View file @
193b2e6d
# rubocop:disable all
# rubocop:disable all
class
AddMembersTable
<
ActiveRecord
::
Migration
class
AddMembersTable
<
ActiveRecord
::
Migration
DOWNTIME
=
false
def
change
def
change
create_table
:members
do
|
t
|
create_table
:members
do
|
t
|
t
.
integer
:access_level
,
null:
false
t
.
integer
:access_level
,
null:
false
...
...
db/migrate/20140914173417_remove_old_member_tables.rb
View file @
193b2e6d
# rubocop:disable all
# rubocop:disable all
class
RemoveOldMemberTables
<
ActiveRecord
::
Migration
class
RemoveOldMemberTables
<
ActiveRecord
::
Migration
DOWNTIME
=
false
def
up
def
up
drop_table
:users_groups
drop_table
:users_groups
drop_table
:users_projects
drop_table
:users_projects
...
...
db/migrate/20141118150935_add_audit_event.rb
View file @
193b2e6d
# rubocop:disable all
# rubocop:disable all
class
AddAuditEvent
<
ActiveRecord
::
Migration
class
AddAuditEvent
<
ActiveRecord
::
Migration
DOWNTIME
=
false
def
change
def
change
create_table
:audit_events
do
|
t
|
create_table
:audit_events
do
|
t
|
t
.
integer
:author_id
,
null:
false
t
.
integer
:author_id
,
null:
false
...
...
db/migrate/20141216155758_create_doorkeeper_tables.rb
View file @
193b2e6d
# rubocop:disable all
# rubocop:disable all
class
CreateDoorkeeperTables
<
ActiveRecord
::
Migration
class
CreateDoorkeeperTables
<
ActiveRecord
::
Migration
DOWNTIME
=
false
def
change
def
change
create_table
:oauth_applications
do
|
t
|
create_table
:oauth_applications
do
|
t
|
t
.
string
:name
,
null:
false
t
.
string
:name
,
null:
false
...
...
db/migrate/20150108073740_create_application_settings.rb
View file @
193b2e6d
# rubocop:disable all
# rubocop:disable all
class
CreateApplicationSettings
<
ActiveRecord
::
Migration
class
CreateApplicationSettings
<
ActiveRecord
::
Migration
DOWNTIME
=
false
def
change
def
change
create_table
:application_settings
do
|
t
|
create_table
:application_settings
do
|
t
|
t
.
integer
:default_projects_limit
t
.
integer
:default_projects_limit
...
...
db/migrate/20150313012111_create_subscriptions_table.rb
View file @
193b2e6d
# rubocop:disable all
# rubocop:disable all
class
CreateSubscriptionsTable
<
ActiveRecord
::
Migration
class
CreateSubscriptionsTable
<
ActiveRecord
::
Migration
DOWNTIME
=
false
def
change
def
change
create_table
:subscriptions
do
|
t
|
create_table
:subscriptions
do
|
t
|
t
.
integer
:user_id
t
.
integer
:user_id
...
...
db/migrate/20150806104937_create_abuse_reports.rb
View file @
193b2e6d
# rubocop:disable all
# rubocop:disable all
class
CreateAbuseReports
<
ActiveRecord
::
Migration
class
CreateAbuseReports
<
ActiveRecord
::
Migration
DOWNTIME
=
false
def
change
def
change
create_table
:abuse_reports
do
|
t
|
create_table
:abuse_reports
do
|
t
|
t
.
integer
:reporter_id
t
.
integer
:reporter_id
...
...
db/migrate/20151103134857_create_lfs_objects.rb
View file @
193b2e6d
# rubocop:disable all
# rubocop:disable all
class
CreateLfsObjects
<
ActiveRecord
::
Migration
class
CreateLfsObjects
<
ActiveRecord
::
Migration
DOWNTIME
=
false
def
change
def
change
create_table
:lfs_objects
do
|
t
|
create_table
:lfs_objects
do
|
t
|
t
.
string
:oid
,
null:
false
,
unique:
true
t
.
string
:oid
,
null:
false
,
unique:
true
...
...
db/migrate/20151103134958_create_lfs_objects_projects.rb
View file @
193b2e6d
# rubocop:disable all
# rubocop:disable all
class
CreateLfsObjectsProjects
<
ActiveRecord
::
Migration
class
CreateLfsObjectsProjects
<
ActiveRecord
::
Migration
DOWNTIME
=
false
def
change
def
change
create_table
:lfs_objects_projects
do
|
t
|
create_table
:lfs_objects_projects
do
|
t
|
t
.
integer
:lfs_object_id
,
null:
false
t
.
integer
:lfs_object_id
,
null:
false
...
...
db/migrate/20151105094515_create_releases.rb
View file @
193b2e6d
# rubocop:disable all
# rubocop:disable all
class
CreateReleases
<
ActiveRecord
::
Migration
class
CreateReleases
<
ActiveRecord
::
Migration
DOWNTIME
=
false
def
change
def
change
create_table
:releases
do
|
t
|
create_table
:releases
do
|
t
|
t
.
string
:tag
t
.
string
:tag
...
...
db/migrate/20160212123307_create_tasks.rb
View file @
193b2e6d
# rubocop:disable all
# rubocop:disable all
class
CreateTasks
<
ActiveRecord
::
Migration
class
CreateTasks
<
ActiveRecord
::
Migration
DOWNTIME
=
false
def
change
def
change
create_table
:tasks
do
|
t
|
create_table
:tasks
do
|
t
|
t
.
references
:user
,
null:
false
,
index:
true
t
.
references
:user
,
null:
false
,
index:
true
...
...
db/migrate/20160416180807_add_award_emoji.rb
View file @
193b2e6d
# rubocop:disable all
# rubocop:disable all
class
AddAwardEmoji
<
ActiveRecord
::
Migration
class
AddAwardEmoji
<
ActiveRecord
::
Migration
DOWNTIME
=
false
def
change
def
change
create_table
:award_emoji
do
|
t
|
create_table
:award_emoji
do
|
t
|
t
.
string
:name
t
.
string
:name
...
...
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