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
3a8207a9
Commit
3a8207a9
authored
Mar 12, 2018
by
Andreas Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use bigserial for internal_ids table.
parent
b1c7ee37
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
db/migrate/20180305095250_create_internal_ids_table.rb
db/migrate/20180305095250_create_internal_ids_table.rb
+1
-1
db/schema.rb
db/schema.rb
+1
-1
No files found.
db/migrate/20180305095250_create_internal_ids_table.rb
View file @
3a8207a9
...
...
@@ -6,7 +6,7 @@ class CreateInternalIdsTable < ActiveRecord::Migration
disable_ddl_transaction!
def
up
create_table
:internal_ids
do
|
t
|
create_table
:internal_ids
,
id: :bigserial
do
|
t
|
t
.
references
:project
t
.
integer
:usage
,
null:
false
t
.
integer
:last_value
,
null:
false
...
...
db/schema.rb
View file @
3a8207a9
...
...
@@ -866,7 +866,7 @@ ActiveRecord::Schema.define(version: 20180309160427) do
add_index
"identities"
,
[
"user_id"
],
name:
"index_identities_on_user_id"
,
using: :btree
create_table
"internal_ids"
,
force: :cascade
do
|
t
|
create_table
"internal_ids"
,
id: :bigserial
,
force: :cascade
do
|
t
|
t
.
integer
"project_id"
t
.
integer
"usage"
,
null:
false
t
.
integer
"last_value"
,
null:
false
...
...
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