Skip to content

Remove setup_postgres task and update schema RB

Sean Arnold requested to merge update-schema-rb into master

What does this MR do?

Since we only support Postgresql since 12.1 (https://docs.gitlab.com/ee/install/requirements.html#database) I think we can remove the setup_postgresql rake task and move the indexes into schema.rb.

This will mean that developers will no-longer need to ignore changes like

t.index "lower((name)::text)", name: "index_projects_on_lower_name"

in their schema.rb file when committing.

Conformity

Edited by Sean Arnold

Merge request reports