NielsCo / typespec-postgres

An expansion for TypeSpec enabling the definition of DB-Schema within the API-Definition in TypeSpec and emitting them to Postgres-Schema
Other
6 stars 0 forks source link

Use the versions of TypeSpec for db-diffs #5

Open NielsCo opened 1 year ago

NielsCo commented 1 year ago

The versions of TypeSpec could be used to not only produce multiple schema (like we do currently), but to implement db-update-scripts from the first version to the last. This would be a major feature and as I discussed it with @bterlson something that would add a lot of value to this emitter.