gitlab-org--gitlab-foss/lib
Zeger-Jan van de Weg fff7754186
Rename the Repository table to PoolRepository
To separate the different kinds of repositories we have at GitLab this
table will be renamed to pool_repositories. A project can, for now at
least, be member of none, or one of these. The table will get additional
columns in a later merge request where more logic is implemented for the
model.

Further included is a small refactor of logic around hashing ids for the
disk_path, mainly to ensure a previous implementation is reusable.

The disk_path for the pool_repositories table no longer has a NOT NULL
constraint, but given the hashing of the ID requires the DB to assign
the record an ID, an after_create hook is used to update the value.

A related MR is:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/23143, adding
tables for 'normal' repositories and wiki_repositories.
2018-11-27 13:41:46 +01:00
..
api Set content disposition attachment to several endpoints 2018-11-23 16:44:09 +00:00
assets
backup Enable frozen string for lib/gitlab/*.rb 2018-10-22 07:00:50 +00:00
banzai Make sure there's only one slash as path separator 2018-11-09 15:36:45 -08:00
bitbucket
bitbucket_server Make sure there's only one slash as path separator 2018-11-09 15:36:45 -08:00
constraints
container_registry
declarative_policy
flowdock Remove explicit requires from flowdock 2018-10-16 12:53:30 +01:00
generators/rails/post_deployment_migration
gitaly
gitlab Merge branch 'bvl-use-shell-writeref' into 'master' 2018-11-27 08:56:26 +00:00
google_api Fix typos in comments and specs 2018-11-01 08:59:20 +02:00
haml_lint Fix uninitialized constant HamlLint::Linter 2018-10-17 18:27:11 -05:00
json_web_token Relocate JSONWebToken::HMACToken from EE 2018-11-13 08:36:57 +11:00
mattermost
microsoft_teams
object_storage
omni_auth/strategies
peek Fix bug where ID is not set 2018-11-20 13:40:45 +01:00
quality Improve automated Review Apps cleanup 2018-10-22 09:57:50 +02:00
rouge
rspec_flaky
support
system_check Merge branch '46950-systemcheck-use-gem-ruby-instead-of-hardcoding-ruby-version' into 'master' 2018-11-22 10:20:47 +00:00
tasks Rename the Repository table to PoolRepository 2018-11-27 13:41:46 +01:00
after_commit_queue.rb
backup.rb
banzai.rb
carrier_wave_string_file.rb
declarative_policy.rb
event_filter.rb
expand_variables.rb
extracts_path.rb Fix typos in comments and specs 2018-11-01 08:59:20 +02:00
feature.rb
file_size_validator.rb
forever.rb
gitlab.rb Improve variables support 2018-11-19 14:09:39 +01:00
gt_one_coercion.rb
milestone_array.rb
mysql_zero_date.rb
rails4_migration_version.rb Add version migration support to rails 4 2018-11-22 13:17:55 +01:00
static_model.rb
system_check.rb
unfold_form.rb
uploaded_file.rb
version_check.rb