Update application features and add scripts (core changes)
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import { db } from './lib/db';
|
||||
async function run() {
|
||||
const rooms = await db.room.findMany();
|
||||
for (const r of rooms) {
|
||||
if (r.images.length > 0) console.log(r.nameTr, r.images[0]);
|
||||
}
|
||||
}
|
||||
run();
|
||||
Reference in New Issue
Block a user