db backup and restore implemented
This commit is contained in:
1 parent
8353a24f6b
commit
19ec020046
18 files changed
+847
-118
No files matched your search
@@ -1,5 +1,5 @@
|
||||
|
||||
import { getDatabase } from '../src/lib/database/index.ts';
|
||||
import { getDatabase } from '../src/lib/database/index';
|
||||
|
||||
async function verifyDatabase() {
|
||||
console.log('Starting database verification...');
|
||||
@@ -34,6 +34,7 @@ async function verifyDatabase() {
|
||||
// 3. Create Fitness Profile
|
||||
console.log('Creating fitness profile...');
|
||||
const profile = await db.createFitnessProfile({
|
||||
id: 'test-profile-id',
|
||||
userId: user.id,
|
||||
height: '180',
|
||||
weight: '75',
|
||||
|
||||
Reference in new issue
Block a user