TaskView is a self-hosted project and task management platform focused on clarity, ownership, and control. TaskView is built for teams that want a transparent, self-hosted alternative to SaaS task managers.
TypeScript graphviewkanban-boardnodejsproductivityproject-managementself-hostedtasktask-managementtask-managertodoapp
import { integer, jsonb, pgSchema, timestamp } from 'drizzle-orm/pg-core'
import { UsersSchema } from './users.schema'
export const UiPreferencesSchema = pgSchema('tv_auth').table('ui_preferences', {
userId: integer('user_id').primaryKey().references(() => UsersSchema.id, { onDelete: 'cascade' }),
prefs: jsonb().notNull().default({}),
updatedAt: timestamp('updated_at').notNull().defaultNow(),
})
export type UiPreferencesSchemaTypeForSelect = typeof UiPreferencesSchema.$inferSelect
export type UiPreferencesSchemaTypeForInsert = typeof UiPreferencesSchema.$inferInsert