初始提交:ai-review 项目当前版本(含赛道一/二提交规范修订与时间节点文档)
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
const db = require('better-sqlite3')('data/ai-review.db');
|
||||
const tables = db.prepare("SELECT name FROM sqlite_master WHERE type='table'").all();
|
||||
for (const t of tables) {
|
||||
console.log('=== ' + t.name + ' ===');
|
||||
const cols = db.prepare('PRAGMA table_info(' + t.name + ')').all();
|
||||
console.log(JSON.stringify(cols, null, 2));
|
||||
}
|
||||
Reference in New Issue
Block a user