This is an utility that generates a FluentMigrator migration from an existing database table.
Usage:
schema2fm.exe connectionString schema table
For example:
schema2fm.exe "Server=.\SQLEXPRESS;Database=LearnORM;Trusted_Connection=True;" dbo Book
- SQL Server
- int columns
- nvarchar columns
- Primary keys
- Foreign keys
- Unique constraints
- other databases
- other column types