Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DROP TABLE IF EXISTS waha_outbound_queue;
- DROP TABLE IF EXISTS modelo_model_migration;
- CREATE TABLE IF NOT EXISTS public.modelo_model_migration (
- id BIGSERIAL PRIMARY KEY,
- id_uuid uuid NOT NULL DEFAULT uuidv7(),
- created_at TIMESTAMPTZ NOT NULL DEFAULT NOW(),
- updated_at TIMESTAMPTZ NOT NULL DEFAULT NOW()
- );
- INSERT INTO modelo_model_migration DEFAULT VALUES;
- SELECT * FROM modelo_model_migration;
- SELECT uuid_extract_timestamp (id_uuid), uuid_extract_version(id_uuid), created_at, updated_at FROM modelo_model_migration
Advertisement
Add Comment
Please, Sign In to add comment