/POCDatabase

POC for database CI/CD with CLI (msbuild & sqlpackage)

Primary LanguageTSQL

POCDatabase

POC for database CI/CD with CLI (msbuild & sqlpackage)

COMANDO:

sqlpackage /action:Publish /SourceFile:”.\POCDatabase\bin\Debug\POCDatabase.dacpac” /TargetDatabaseName:SQLShackSnapshot/TargetServerName:”localhost”

  • Sempre usar o refactor pra trocar qualquer nome de tabela/procedure/views que já existe
  • Importante adicionar comando de geração de transaction