im-open/SQL View to Create Table File Generator
Takes the views from the specified schema and creates .sql files with create table statements for them
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| schema-names | A comma separated list of schemas that hold the views that are to have create table scripts created for them. | yes | — |
| db-name | The name of the database to use. | yes | — |
| db-server | The name of the database server to use. | yes | localhost |
| db-port | The name of the database server port to use. | no | 1433 |
| default-branch | The name of the default branch of the running repo. | yes | main |
| nuget-retrieval-url | The url where the packages to compare against the generated files can be found. | yes | — |
| publish-packages | A flag determining whether or not to publish nuget packages with the create table files. | no | false |
| nuget-publish-url | The url where the generated packages will be published. This should be set if the `publish-packages` flag is `true`, otherwise an error will occur. | no | — |
| nuget-api-key | The API key for the `nuget-publish-url`. If that url is set, this should be too. | no | — |
| nuget-folder | The name of the folder to put the nuget files that will be compared to the generated create table files. Defaults to './.build/.nuget' in this action's folder. | no | — |
| package-folder | The name of the folder where the generated create table files will go. Defaults to './.build/.packages' in this action's folder. | no | — |
| repository-url | Use when publishing to GitHub Packages. The url to the repository which should house the published packages. | no | — |
Outputs
no outputs