excel preview & file handling

This commit is contained in:
richardtekula
2025-11-24 10:18:28 +01:00
parent dfcf8056f3
commit 7fd6b9e742
12 changed files with 1336 additions and 18 deletions

View File

@@ -186,6 +186,7 @@ export const timesheets = pgTable('timesheets', {
fileSize: integer('file_size').notNull(), // veľkosť súboru v bytoch
year: integer('year').notNull(), // rok (napr. 2024)
month: integer('month').notNull(), // mesiac (1-12)
isGenerated: boolean('is_generated').default(false).notNull(), // či bol súbor vygenerovaný systémom
uploadedAt: timestamp('uploaded_at').defaultNow().notNull(),
createdAt: timestamp('created_at').defaultNow().notNull(),
updatedAt: timestamp('updated_at').defaultNow().notNull(),