feat 建表

This commit is contained in:
Ironsp
2026-09-08 17:26:13 +08:00
parent 3d304ec8c9
commit 06e7739293
2 changed files with 3 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
/**
* RTK 轨迹数据表
* RTK 轨迹数据表: 作业记录ID, 时间戳, , 压实度, 纬度, 经度, 高度, 速度, 方向, 创建时间, 外键约束
* 字段说明:
* - id:轨迹唯一标识符
* - work_record_id:作业记录 ID
@@ -9,6 +9,7 @@
* - altitude:高度
* - speed:速度
* - heading:方向
* - created_at:记录创建时间(默认值为当前时间)
*/
export const rtkTrackTableSql = `CREATE TABLE IF NOT EXISTS rtk_track (
id INTEGER PRIMARY KEY AUTOINCREMENT,