groue / GRDB.swift

A toolkit for SQLite databases, with a focus on application development
MIT License
6.61k stars 677 forks source link

The method DatabaseMigrator.migrate is time-consuming; is it necessary to execute it every time? #1556

Closed songzhiming closed 4 weeks ago

songzhiming commented 4 weeks ago

What did you do?

What did you expect to happen?

What happened instead?

Environment

GRDB flavor(s): (GRDB, SQLCipher, Custom SQLite build?) GRDB version: Installation method: (CocoaPods, SPM, manual?) Xcode version: Swift version: Platform(s) running GRDB: (iOS, macOS, watchOS?) macOS version running Xcode:

Demo Project

songzhiming commented 4 weeks ago

img_v3_02bi_f7dad887-0b43-4cc4-bccc-15b32f08ccdg

groue commented 4 weeks ago

Hello @songzhiming,

You didn't care explain what you mean with "time-consuming". Your screenshot does not reveal anything that looks slightly related to the issue title. You did not care answering the questions in the issue template. Your previously opened issues are just as lazy.

Please improve your reports.

Now, read the Migrations Guide. If you have unanswered questions, write them.

songzhiming commented 3 weeks ago

@groue I'm sorry, this is my fault.