flask database init doesn't create extension postgis_raster so raster2pgsql fails:
$ raster2pgsql *.tif -s 4326 -d -M -C -I -F -t 25x25 public.elevation | psql -d ogn
Processing 1/4: 30N000E_20101117_gmted_mea075.tif
BEGIN
NOTICE: table "elevation" does not exist, skipping
DROP TABLE
ERROR: type "raster" does not exist
LINE 1: ...lic"."elevation" ("rid" serial PRIMARY KEY,"rast" raster,"fi...
^
ERROR: current transaction is aborted, commands ignored until end of transaction block
flask database init
doesn'tcreate extension postgis_raster
soraster2pgsql
fails: