summaryrefslogtreecommitdiff
path: root/db/migrate
Commit message (Collapse)AuthorAgeFilesLines
* Disallow blank (non-null) values for a Note's `line_code` attributers-disallow-blank-line-codeRobert Speicher2016-03-111-0/+9
| | | | | | | | | | | | | It's unclear how these blank values got added, but GitLab.com had a few: ``` irb(main):002:0> Note.where("line_code IS NOT NULL AND line_code = ''").count => 439 ``` We've added a migration to convert any existing records to use a NULL value when blank, and updated Note to set blank values to nil before validation.
* More detailed trigram migration error messagetrigram-index-searchingYorick Peterse2016-03-111-1/+4
| | | | | This explains the user what they need to run and where to go in case they want to learn more about "CREATE EXTENSION".
* Added trigram indexes for various searched columnsYorick Peterse2016-03-111-0/+50
| | | | | | This allows the LIKE condition to use an index. Without a GIN + trigram index LIKE queries using a wildcard at the start _won't_ use an index and instead perform a sequence scan.
* Remove invalid todos from databaseDouglas Barbosa Alexandre2016-03-091-0/+16
|
* Merge branch 'rs-snippets-dont-expire' into 'master' Dmitriy Zaporozhets2016-03-091-0/+5
|\ | | | | | | | | | | | | | | | | Remove `Snippet#expires_at` This was removed from the interface in https://github.com/gitlabhq/gitlabhq/pull/6027 but its implementation lingered around for two years. See merge request !3103
| * Remove `Snippet#expires_at`rs-snippets-dont-expireRobert Speicher2016-03-051-0/+5
| | | | | | | | | | | | This was removed from the interface in https://github.com/gitlabhq/gitlabhq/pull/6027 but its implementation lingered around for two years.
* | adds swp and swo to gitignore and improves migration for project main_languagetiagonbotelho2016-03-071-18/+2
| |
* | implements project languages saving them onto the databasetiagonbotelho2016-03-071-0/+21
|/
* Use Gitlab::Git::DiffCollectionsJacob Vosmaer2016-03-031-0/+5
|
* Fix broken migrationDmitriy Zaporozhets2016-02-291-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Branded login page also in CE11489-branded-appearance-to-ceZeger-Jan van de Weg2016-02-261-0/+14
| | | | | The only major difference with the EE version is the change from a light and dark logo to only a header logo The dark logo wasn't used anyway, so it seemed to make sense to me to rename the field to the actual function of it
* Rename Tasks to TodosDouglas Barbosa Alexandre2016-02-201-0/+5
|
* Create a pending task when a user is mentioned on a noteDouglas Barbosa Alexandre2016-02-201-0/+5
|
* Add task modelDouglas Barbosa Alexandre2016-02-201-0/+14
|
* Merge branch 'visibletrap/gitlab-ce-label'Douwe Maan2016-02-191-0/+5
|\
| * Label description and Label rowTap2016-02-171-0/+5
| | | | | | | | | | - Add label description - Show label row when filtering issues or merge requests by label
* | Save merge commit id when MR is mergedRubén Dávila2016-02-191-0/+5
| |
* | Fix name of build erasable, remove superfluous method from itGrzegorz Bizon2016-02-191-1/+1
| |
* | Remove boolean erase column from ci build and foreign keyGrzegorz Bizon2016-02-191-2/+0
| |
* | Add build eraseable columns to ci builds tableGrzegorz Bizon2016-02-191-0/+8
|/
* Merge remote-tracking branch 'dev/master' into 'master'Robert Speicher2016-02-091-0/+5
|\
| * Merge branch 'master' into ci-permissionsKamil Trzcinski2016-02-051-0/+80
| |\ | | | | | | | | | | | | # Conflicts: # db/schema.rb
| * \ Merge remote-tracking branch 'origin/master' into ci-permissionsKamil Trzcinski2016-02-042-0/+24
| |\ \ | | | | | | | | | | | | | | | | # Conflicts: # app/views/projects/builds/index.html.haml
| * | | Rename allow_guest_to_access_builds to public_buildsKamil Trzcinski2016-02-041-1/+1
| | | |
| * | | Add CI setting: allow_guest_to_access_buildsKamil Trzcinski2016-02-021-0/+5
| | | | | | | | | | | | | | | | Add the `read_build` ability if user is anonymous or guest and allow_guest_to_access_builds is enabled.
* | | | Merge branch 'index_snippet' into 'master' Douwe Maan2016-02-091-0/+5
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add index for snippet's updated_at @DouweM We are ordering by `updated_at` but there is no index. cc @yorickpeterse See merge request !2768
| * | | | Add index for snippet's updated_atindex_snippetValery Sizov2016-02-091-0/+5
| | | | |
* | | | | Add option to include the sender name in body of Notify email. fix #7824huacnlee/gitlab-ce-feature/option-to-include-author-info-in-mailJason Lee2016-02-091-0/+5
|/ / / /
* | | | Merge branch 'fix/atom-url-issue' into 'master' Douwe Maan2016-02-091-1/+1
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | do not rename .aToM but only .atom projects in migration Sorry @DouweM forgot to add this. See https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/2651/diffs#bc35672f73f4ee025132aee428f383acdf0f755e_0_51 Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/3699 See merge request !2712
| * | | remove unnecessary lower function on SQLJames Lopez2016-02-041-1/+1
| | | |
* | | | Merge branch 'fix/atom-url-issue' into 'master' Douwe Maan2016-02-041-0/+80
|\ \ \ \ | |/ / / | | | / | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | Fix atom url issue on projects This MR adds prevents a project to have a path ending in .atom that conflicts with the feed and Adds a migration to migrate old .atom projects to a different path Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/3699 See merge request !2651
| * | refactored migration based on feedbackJames Lopez2016-02-041-1/+5
| | |
| * | refactored migration and spec based on feedbackJames Lopez2016-02-041-6/+12
| | |
| * | fixed move project method in migrationJames Lopez2016-02-021-33/+13
| | |
| * | added TODO to not working methodJames Lopez2016-02-011-0/+1
| | |
| * | Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into fix/atom-url-issueJames Lopez2016-02-013-0/+16
| |\ \ | | |/
| * | WIP - refactored migrationJames Lopez2016-02-011-7/+42
| | |
| * | WIP - add migrationJames Lopez2016-01-291-0/+54
| | |
* | | Support Akismet spam checking for creation of issues via APIStan Hu2016-02-022-0/+24
| |/ |/| | | | | | | | | | | Currently any spam detected by Akismet by non-members via API will be logged in a separate table in the admin page. Closes #5612
* | Merge remote-tracking branch 'origin/background-delete-process'Dmitriy Zaporozhets2016-01-301-0/+5
|\ \
| * | Update CHANGELOGbackground-delete-processJosh Frye2016-01-291-1/+1
| | |
| * | First pass at deleting projects in the background.Josh Frye2016-01-291-0/+5
| | |
* | | Increase LFS objects size columnDrew Blessing2016-01-291-0/+5
|/ /
* | Partially revert "Add IP check against DNSBLs at account sign-up"rs-remove-ip-blockingRobert Speicher2016-01-281-0/+6
|/ | | | | This partially reverts 6a5cd3ca - we keep the migration and add a new migration that reverts it in order to keep migration history intact.
* Merge branch 'master' into issue_3945issue_3945Rubén Dávila2016-01-201-0/+6
|\
| * Merge branch 'feature/check-against-rbl-only' into 'master'Robert Speicher2016-01-201-0/+6
| |\ | | | | | | | | | | | | | | | | | | | | | Split from !2455 References #9092 See merge request !2515
| | * Add IP blocking against DNSBL at sign-upfeature/check-against-rbl-onlyTomasz Maczukin2016-01-201-0/+6
| | |
* | | Merge branch 'master' into issue_3945Douwe Maan2016-01-201-0/+8
|\ \ \ | |/ /
| * | Merge branch 'master' of https://gitlab.com/gitlab-org/gitlab-ce into ↵Jeroen Nijhof2016-01-204-0/+90
| |\ \ | | |/ | | | | | | | | | | | | | | | sentry-integration Conflicts: db/schema.rb
| * | Add sentry integrationJeroen Nijhof2016-01-181-0/+8
| | |