diff --git a/ability/ability_runtime/actsfwkdataaccessortest/actsfwkdataaccessortest/src/main/js/TestDataAbility/data.js b/ability/ability_runtime/actsfwkdataaccessortest/actsfwkdataaccessortest/src/main/js/TestDataAbility/data.js index 416899842adadb8a8bd9ab4c4b9020d050be735b..72896e79c6037f651f72adf8a4c81dadfbe2c40c 100755 --- a/ability/ability_runtime/actsfwkdataaccessortest/actsfwkdataaccessortest/src/main/js/TestDataAbility/data.js +++ b/ability/ability_runtime/actsfwkdataaccessortest/actsfwkdataaccessortest/src/main/js/TestDataAbility/data.js @@ -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()