excel preview & file handling
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user