andrewabest / Conventional

A suite of convention specifications for enforcing type and style conventions in your codebase
Microsoft Public License
97 stars 29 forks source link

Scan a sql server database for tables without a clustered index #7

Closed becdetat closed 9 years ago

becdetat commented 9 years ago

because sql azure will bork on a db migration that creates a table without a clustered index. Making ben sad.

andrewabest commented 9 years ago

An interesting suggestion - do you propose scanning the scripts that end up comprising a database, or you actually want to connect to and enforce conventions against a SQL instance?

becdetat commented 9 years ago

I reckon against the database itself. Once the precedent is set it would be fairly easy to extend this to other database-y conventions too.

andrewabest commented 9 years ago

I'm working on something for this, should have a PR up for discourse by EOW.

becdetat commented 9 years ago

:sweet_potato:

andrewabest commented 9 years ago

https://github.com/andrewabest/Conventional/pull/8 :shipit:

andrewabest commented 9 years ago

:steam_locomotive: choo choo, there goes the release train!

becdetat commented 9 years ago