You can run commands using Koyeb CLI or web console:
We don’t recommend deploying database on Koyeb because the filesystem on our instances is ephemeral. In the near future we will implement managed database service, currently our documentation provides guides explaining how to connect managed database providers: