Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
3.8k views
in Technique[技术] by (71.8m points)

android - Specifying initial database version when using SQLDelight

We're migrating from the Android platform SQLiteDatabase/SQLiteOpenHelper to use SQLDelight. Our first public database version was 17. By default, the SQLDelight Schema returns 1 for version. The only way I've been able to find to force version to 17 is to provide an empty 16.sqm migration file. Is this the correct way to do this, or is there a better way?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
...