Skip to content
Snippets Groups Projects
Unverified Commit 07b74ebd authored by lbrdnk's avatar lbrdnk Committed by GitHub
Browse files

Add metabase_field semantic_type migration (#34664)

* Update migration and add test

Sets semantic_type to null for metabase_field if value was type/Number,
to avoid log warnings.

* Remove test for trivial migration as suggested

As migration tests are costly and change is trvial, it is better
to test small migration as one in question manually. Hence removing
the test.
parent 269e19d6
No related branches found
No related tags found
No related merge requests found
......@@ -15363,6 +15363,20 @@ databaseChangeLog:
type: varchar(100)
remarks: 'Metabase version used to create the revision.'
 
- changeSet:
id: v48.00-026
author: lbrdnk
comment: Set semantic_type with value type/Number to null (#18754)
changes:
- update:
tableName: metabase_field
columns:
- column:
name: semantic_type
value: NULL
where: semantic_type = 'type/Number'
rollback:
# >>>>>>>>>> DO NOT ADD NEW MIGRATIONS BELOW THIS LINE! ADD THEM ABOVE <<<<<<<<<<
 
########################################################################################################################
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment