Commit 28f4e90b7810d21cf9f13cd3d2e67766b0f69f26

Authored by Georg Hopp
1 parent 48c704cc

Add table view for cli

  1 +-- This file should undo anything in `up.sql`
  2 +DROP VIEW images_blob_as_b64;
... ...
  1 +CREATE VIEW images_blob_as_b64 AS
  2 +SELECT id, TO_BASE64(upload_uuid), TO_BASE64(uuid), size, dim_x, dim_y,
  3 + mime_type, date_created, date_updated
  4 +FROM images;
... ...
Please register or login to post a comment