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
cc9154ad
Commit
cc9154ad
authored
Nov 16, 2018
by
Kamil Trzciński
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix db/schema specs
parent
3025eb0f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
18 deletions
+0
-18
db/schema.rb
db/schema.rb
+0
-10
spec/db/schema_spec.rb
spec/db/schema_spec.rb
+0
-8
No files found.
db/schema.rb
View file @
cc9154ad
...
...
@@ -212,7 +212,6 @@ ActiveRecord::Schema.define(version: 20181107054254) do
t
.
integer
"diff_max_patch_bytes"
,
default:
102400
,
null:
false
t
.
integer
"archive_builds_in_seconds"
t
.
string
"commit_email_hostname"
<<<<<<<
.
merge_file_PdnNCP
t
.
index
[
"custom_project_templates_group_id"
],
name:
"index_application_settings_on_custom_project_templates_group_id"
,
using: :btree
t
.
index
[
"file_template_project_id"
],
name:
"index_application_settings_on_file_template_project_id"
,
using: :btree
t
.
index
[
"usage_stats_set_by_user_id"
],
name:
"index_application_settings_on_usage_stats_set_by_user_id"
,
using: :btree
...
...
@@ -244,9 +243,6 @@ ActiveRecord::Schema.define(version: 20181107054254) do
t
.
datetime
"updated_at"
t
.
index
[
"target_id"
,
"target_type"
],
name:
"index_approvers_on_target_id_and_target_type"
,
using: :btree
t
.
index
[
"user_id"
],
name:
"index_approvers_on_user_id"
,
using: :btree
=======
t
.
index
[
"usage_stats_set_by_user_id"
],
name:
"index_application_settings_on_usage_stats_set_by_user_id"
,
using: :btree
>>>>>>>
.
merge_file_jJdkfe
end
create_table
"audit_events"
,
force: :cascade
do
|
t
|
...
...
@@ -817,10 +813,7 @@ ActiveRecord::Schema.define(version: 20181107054254) do
t
.
text
"status_reason"
t
.
datetime_with_timezone
"created_at"
,
null:
false
t
.
datetime_with_timezone
"updated_at"
,
null:
false
<<<<<<<
.
merge_file_PdnNCP
t
.
datetime_with_timezone
"last_update_started_at"
=======
>>>>>>>
.
merge_file_jJdkfe
t
.
index
[
"cluster_id"
],
name:
"index_clusters_applications_prometheus_on_cluster_id"
,
unique:
true
,
using: :btree
end
...
...
@@ -1930,7 +1923,6 @@ ActiveRecord::Schema.define(version: 20181107054254) do
t
.
integer
"access_grant_id"
,
null:
false
t
.
string
"nonce"
,
null:
false
t
.
index
[
"access_grant_id"
],
name:
"index_oauth_openid_requests_on_access_grant_id"
,
using: :btree
<<<<<<<
.
merge_file_PdnNCP
end
create_table
"operations_feature_flags"
,
id: :bigserial
,
force: :cascade
do
|
t
|
...
...
@@ -1981,8 +1973,6 @@ ActiveRecord::Schema.define(version: 20181107054254) do
t
.
string
"name"
,
null:
false
t
.
string
"version"
t
.
index
[
"project_id"
],
name:
"index_packages_packages_on_project_id"
,
using: :btree
=======
>>>>>>>
.
merge_file_jJdkfe
end
create_table
"pages_domains"
,
force: :cascade
do
|
t
|
...
...
spec/db/schema_spec.rb
View file @
cc9154ad
# frozen_string_literal: true
require
'spec_helper'
<<<<<<<
HEAD
require
Rails
.
root
.
join
(
'ee'
,
'spec'
,
'db'
,
'schema_support'
)
describe
'Database schema'
do
prepend
::
EE
::
DB
::
SchemaSupport
=======
describe
'Database schema'
do
>>>>>>>
upstream
/
master
let
(
:connection
)
{
ActiveRecord
::
Base
.
connection
}
let
(
:tables
)
{
connection
.
tables
}
# Use if you are certain that this column should not have a foreign key
<<<<<<<
HEAD
# EE: edit the ee/spec/db/schema_support.rb
=======
>>>>>>>
upstream
/
master
IGNORED_FK_COLUMNS
=
{
abuse_reports:
%w[reporter_id user_id]
,
application_settings:
%w[performance_bar_allowed_group_id]
,
...
...
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