change sqlite user table column id to increment int ids

This commit is contained in:
2025-07-06 13:34:11 +00:00
parent 0f224287fd
commit dad13c9cfb
13 changed files with 200 additions and 103 deletions
@@ -11,7 +11,7 @@ import type { Locale } from "@/locales/server";
import { Badge } from "@/components/ui/badge";
import { format } from 'date-fns';
const currentUserId = 'user1'; // Assume this is the logged-in user's ID
const currentUserId = 1; // Assume this is the logged-in user's ID
export default async function RentalHistoryPage({ params }: { params: { locale: Locale } }) {
const t = await getI18n();
@@ -112,4 +112,3 @@ function RentalHistoryItemCard({ item, t, locale }: RentalHistoryItemCardProps)
</Card>
);
}