tursodatabase / libsql-shell-go

7 stars 7 forks source link

fix: add ; to sql statements in schema cmd #132

Closed Mr-Destructive closed 11 months ago

Mr-Destructive commented 1 year ago

Description

Have concatenated the SQL statements with ; at the end, so that it becomes easier to work with them in the shell. Would that be sufficient? I hope the schema has valid and complete SQL statements.

Related Issues

Visual reference

image

Let me know if this is a valid fix or please provide me with the right direction and intuition to fix this. Thank you.

athoscouto commented 11 months ago

Hi @Mr-Destructive, thanks for the contribution! I've cherry-picked your commit on https://github.com/libsql/libsql-shell-go/pull/143. It greatly reduced the amount of code I needed for that, so thanks once again. I'm going to close this one since it also requires changes on tests, which were already implemented on #143.