An error occurred fetching the project authors.
- 17 Jun, 2019 1 commit
-
-
Yorick Peterse authored
This backports all EE schema changes to CE, including EE migrations, ensuring both use the same schema. == Updated tests A spec related to ghost and support bot users had to be modified to make it pass. The spec in question assumes that the "support_bot" column exists when defining the spec. In the single codebase setup this is not the case, as the column is backported in a later migration. Any attempt to use a different schema version or use of "around" blocks to conditionally disable specs won't help, as reverting the backport migration would also drop the "support_bot" column. Removing the "support_bot" tests entirely appears to be the only solution. We also need to update some foreign key tests now that we have backported the EE columns. Fortunately, these changes are very minor. == Backporting migrations This commit moves EE specific migrations (except those for the Geo tracking database) and related files to CE, and also removes any traces of the ee/db directory. Some migrations had to be modified or removed, as they no longer work with the schema being backported. These migrations were all quite old, so we opted for removing them where modifying them would take too much time and effort. Some old migrations were modified in EE, while also existing in CE. In these cases we took the EE code, and in one case removed them entirely. It's not worth spending time trying to merge these changes somehow as we plan to remove old migrations around the release of 12.0, see https://gitlab.com/gitlab-org/gitlab-ce/issues/59177 for more details.
-
- 30 Apr, 2019 1 commit
-
-
Michael Kozono authored
So Geo nodes can compare their configured name with this field in order to find which record they belong to.
-
- 27 Feb, 2019 1 commit
-
-
Matija Čupić authored
This reverts commit f5201a81, reversing changes made to 48e6db0d.
-
- 22 Nov, 2018 2 commits
-
-
Jan Provaznik authored
-
Jan Provaznik authored
DB schema generated by a migration may look different in rails 4 and 5 (because rails 5 may use different default values). For this reason it's important to explicitly set for which rails version a migration was written for. See https://stackoverflow.com/questions/35929869/activerecordmigration-deprecation-warning-asks-for-rails-version-but-im-no/35930912#35930912
-
- 11 Aug, 2017 1 commit
-
-
Yorick Peterse authored
Caching of BroadcastMessage instances has been changed so a cache stays valid as long as the default cache expiration time permits, instead of the cache being expired after 1 minute. When modifying broadcast messages the cache is flushed automatically. To remove the need for performing sequence scans on the "broadcast_messages" table we also add an index on (starts_at, ends_at, id), permitting PostgreSQL to use an index scan to get all necessary data. Finally this commit adds a few NOT NULL constraints to the table to match the Rails validations. Fixes gitlab-org/gitlab-ce#31706
-
- 17 May, 2017 1 commit
-
-
Yorick Peterse authored
This column is used when refreshing authorizations and without the index leads to a sequence scan being performed on this table.
-
- 26 Apr, 2017 1 commit
-
-
blackst0ne authored
-
- 23 Apr, 2017 1 commit
-
-
blackst0ne authored
-
- 06 Mar, 2017 1 commit
-
-
Tiago Botelho authored
-
- 28 Feb, 2017 2 commits
-
-
Tiago Botelho authored
-
Simon Vocella authored
-
- 08 Dec, 2016 1 commit
-
-
Dmitriy Zaporozhets authored
* add parent_id field to namespaces table to store relation with nested groups * create routes table to keep information about full path of every group and project * project/group lookup by full path from routes table Signed-off-by:
Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- 07 Nov, 2016 1 commit
-
-
Douwe Maan authored
email token be reset
-
- 26 Oct, 2016 1 commit
-
-
Kamil Trzcinski authored
-