scalacenter / scaladex

The Scala Package Index
https://index.scala-lang.org
BSD 3-Clause "New" or "Revised" License
198 stars 76 forks source link

Override title because of typo in case object #1494

Closed Philippus closed 1 week ago

Philippus commented 2 weeks ago

Ideally we would change the name of the case object and add a migration I think? But not completely sure how that works, any pointers would be appreciated.

adpi2 commented 1 week ago

Thanks @Philippus

Ideally we would change the name of the case object and add a migration I think? But not completely sure how that works, any pointers would be appreciated. But not completely sure how that works, any pointers would be appreciated.

We use flyway to automate the migrations. You need to do add a SQL file in this folder and flyway will take care of running it once. The name of the file should start with V25__, and it should contain an SQL query:

UPDATE project_settings SET category='functional-programming-and-category-theory' WHERE category='functionnal-programming-and-category-theory';

I am going to merge this PR but it would be great if you could push the proper rename and migration.