未验证 提交 ff291914 编写于 作者: O openharmony_ci 提交者: Gitee

!9388 fix crash

Merge pull request !9388 from xieqiongyang/master
......@@ -20,7 +20,7 @@ import dataRdb from '@ohos.data.rdb'
const TABLE_NAME = 'book'
const STORE_CONFIG = {name: 'book.db'}
const SQL_CREATE_TABLE = 'CREATE TABLE IF NOT EXISTS book' +
'(id INTEGER PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL, age INTEGER, introduction TEXT NOT NULL)'
'(contact_id INTEGER PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL, age INTEGER, introduction TEXT NOT NULL, salary FLOAT)'
let rdbStore = undefined
const TAG = 'ACTS_ DataAbility.data'
const context = featureAbility.getContext()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册