Skip to content

Commit

Permalink
Use TEXT instead of STRING in the DB
Browse files Browse the repository at this point in the history
  • Loading branch information
toupper committed Nov 22, 2024
1 parent fea9cde commit 7ca1276
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2115,8 +2115,8 @@ open class WellSqlConfig : DefaultWellConfig {
}

205 -> migrateAddOn(ADDON_WOOCOMMERCE, version) {
db.execSQL("ALTER TABLE WCProductModel ADD GLOBAL_UNIQUE_ID STRING")
db.execSQL("ALTER TABLE WCProductVariationModel ADD GLOBAL_UNIQUE_ID STRING")
db.execSQL("ALTER TABLE WCProductModel ADD GLOBAL_UNIQUE_ID TEXT")
db.execSQL("ALTER TABLE WCProductVariationModel ADD GLOBAL_UNIQUE_ID TEXT")
}
}
}
Expand Down

0 comments on commit 7ca1276

Please sign in to comment.