Initial commit: Vuelato - buscador de vuelos
Some checks failed
ci / ci (22, ubuntu-latest) (push) Has been cancelled
Some checks failed
ci / ci (22, ubuntu-latest) (push) Has been cancelled
Nuxt 4 + Supabase + Flightics API. Incluye búsqueda de vuelos, inspiraciones, watchlist, tracking de precios y mapa interactivo. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
12
supabase/migrations/00002_destination_images.sql
Normal file
12
supabase/migrations/00002_destination_images.sql
Normal file
@@ -0,0 +1,12 @@
|
||||
-- Tabla cache para imagenes de destinos (Unsplash)
|
||||
CREATE TABLE IF NOT EXISTS destination_images (
|
||||
city_name TEXT PRIMARY KEY,
|
||||
image_url TEXT NOT NULL,
|
||||
thumb_url TEXT NOT NULL,
|
||||
photographer TEXT NOT NULL,
|
||||
photographer_url TEXT NOT NULL,
|
||||
cached_at TIMESTAMPTZ DEFAULT now()
|
||||
);
|
||||
|
||||
GRANT SELECT ON destination_images TO anon, authenticated;
|
||||
GRANT ALL ON destination_images TO service_role;
|
||||
Reference in New Issue
Block a user