infoalloggi-monorepo/apps/db/migrations/46_uuidv7.up.sql
Marco Pedone 1971251490 feat(chat): implement chat bubble, list, sidebar, topbar, and loading components
- Added ChatBubble component for displaying individual chat messages with read status and timestamps.
- Introduced ChatList component to manage and display a list of messages, including editing and deleting functionalities.
- Created ChatSidebar for navigating between active chats and managing user interactions.
- Developed ChatTopbar for displaying chat information and admin actions.
- Implemented loading animation for messages with MessageLoading component.
- Enhanced user experience with context menus for chat options and dialogs for editing and deleting messages.
2026-04-22 19:17:54 +02:00

15 lines
No EOL
734 B
PL/PgSQL

BEGIN;
ALTER TABLE chats ALTER COLUMN chatid SET DEFAULT uuidv7();
ALTER TABLE ordini ALTER COLUMN ordine_id SET DEFAULT uuidv7();
ALTER TABLE potenziali_groups ALTER COLUMN id SET DEFAULT uuidv7();
ALTER TABLE potenziali ALTER COLUMN id SET DEFAULT uuidv7();
ALTER TABLE messages ALTER COLUMN messageid SET DEFAULT uuidv7();
ALTER TABLE rinnovi ALTER COLUMN id SET DEFAULT uuidv7();
ALTER TABLE user_invites ALTER COLUMN id SET DEFAULT uuidv7();
ALTER TABLE users ALTER COLUMN id SET DEFAULT uuidv7();
ALTER TABLE servizio ALTER COLUMN servizio_id SET DEFAULT uuidv7();
ALTER TABLE users_storage ALTER COLUMN user_storage_id SET DEFAULT uuidv7();
ALTER TABLE users_anagrafica ALTER COLUMN idanagrafica SET DEFAULT uuidv7();
COMMIT;