

| Directory | Changes | Lines of Code | Lines per Change |
|---|---|---|---|
| Totals | 140 (100.0%) | 2623 (100.0%) | 18.7 |
| SubSonic/Migrations/ | 11 (7.9%) | 529 (20.2%) | 48.0 |
| SubSonic.Tests/Migrations/ | 11 (7.9%) | 402 (15.3%) | 36.5 |
| SubSonic/SqlQuery/SqlGenerators/ | 17 (12.1%) | 389 (14.8%) | 22.8 |
| SubSonic.Migrations/ | 9 (6.4%) | 306 (11.7%) | 34.0 |
| SubSonic.Tests/SqlGenerators/ | 4 (2.9%) | 278 (10.6%) | 69.5 |
| SubSonic.Tests/Query2/ | 6 (4.3%) | 156 (5.9%) | 26.0 |
| SubSonic/DataProviders/ | 17 (12.1%) | 151 (5.8%) | 8.8 |
| SubSonic/Query2/ | 4 (2.9%) | 93 (3.5%) | 23.2 |
| SubSonic.Tests/SqlQuery/ | 4 (2.9%) | 83 (3.2%) | 20.7 |
| SubSonic.Tests/ | 9 (6.4%) | 65 (2.5%) | 7.2 |
| SubSonic/Controls/ | 2 (1.4%) | 51 (1.9%) | 25.5 |
| SubCommander/ | 3 (2.1%) | 30 (1.1%) | 10.0 |
| SubSonic.Tests/Migrations/MigrationFiles/ | 5 (3.6%) | 26 (1.0%) | 5.2 |
| SubSonic/CodeGeneration/ | 4 (2.9%) | 16 (0.6%) | 4.0 |
| SubSonic/ActiveRecord/ | 6 (4.3%) | 16 (0.6%) | 2.6 |
| SubSonic/SqlQuery/ | 20 (14.3%) | 12 (0.5%) | 0.6 |
| SubSonic/Sql Tools/ | 5 (3.6%) | 12 (0.5%) | 2.4 |
| SubSonic/Query2/SqlGenerators/ | 1 (0.7%) | 6 (0.2%) | 6.0 |
| SubSonic/Sugar/ | 2 (1.4%) | 2 (0.1%) | 1.0 |

ADDED: Test for MySqlGenerator.BuildDropTable.
9 lines of code changed in 2 files:
ADDED: MySqlGenerator class.
ADDED: Tests to support MySqlGenerator.
CHANGED: Cleaned up migration test names.
CHANGED: Renamed SqlServerParserTests.cs to SqlServerGeneratorTests.cs to better reflect actual usage.
CHANGED: Changed some methods in ANSISqlGenerator to virtual to allow descendant classes to do their thing.
ADDED: DataService.GetGenerator() overload to accept a Provider for performance.
419 lines of code changed in 10 files:
CHANGED: Correctly implemented IDisposable in Migration (thanks FxCop).
ADDED: Test to make sure MySql generator works with migrations (it doesn't yet).
40 lines of code changed in 2 files:
ADDED: Execute() method to Migrations to support ad-hoc SQL and supporting test.
ADDED: Support for Migrate-On-Dispose, Rob-style, and supporting test.
109 lines of code changed in 2 files:
FIXED: GetTypeName() in CodeRunner always assumed a curly brace would be on the same line as the namespace.
CHANGED: Minor code cleanup in Migrator.cs.
11 lines of code changed in 2 files:
Added: migrate command to SubCommander command-line help output.
Fixed: When running migrations SubSonic.dll wasn't correctly referenced in dynamic compiled code. Needed the full path.
Fixed: Getting relative migration directory in tests failed under different test runners.
79 lines of code changed in 3 files:
Added: Migration test directory is now dynamically determined during tests vs. being hard coded.
20 lines of code changed in 1 file:
Changed: Tightened up migration error handling and console output.
Changed: SqlServerParserTests to use Assert.AreEqual vs. Assert.IsTrue when comparing strings.
Fixed: DropColumn generation wasn't accounting for dropping defaults.
115 lines of code changed in 8 files:
Added: SubCommander now supports the migrate command (and it works).
Added: Reference to SubSonic.Migrations to SubCommander.
Changed: Minor code cleanup in Migrator.cs.
31 lines of code changed in 3 files:
Changed: Migrator class can now handle an unspecified toVersion.
Changed: Migrator code refactoring.
158 lines of code changed in 1 file:
Fixed: Migrator now correctly calls the Migrate() method vs. Up() or Down();
Fixed: Migrator was instancing a CSharp CodeDOM for .cs files.
Added: GetGenerator() method to DataService, may move.
133 lines of code changed in 7 files:
Changed: Updated migration tests so all now pass.
Added: AlterColumn support to migrations.
Added: Tests to support AlterColumn.
Fixed: Minor bug in TableSchema.AddPrimaryKeyColumn that appended "Id" to end of column name twice.
116 lines of code changed in 3 files:
Added: AddColumn & RemoveColumn migrations.
Added: Tests to support AddColumn & RemoveColumn migrations.
119 lines of code changed in 2 files:
Changed: Moved MigrationDirection enum from Migrator to Migration.
Added: More migration tests.
Added: Migration CreateTable adds a PrimaryKey when creating if missing.
Removed: Unused migration support code.
153 lines of code changed in 3 files:
Changed: Altering migration test file to reflect migrations final form.
Added: A mock migration class in MigrationTes.
Changed: Renamed BuildRemoveColumnStatement to BuildDropColumnStatement in ISqlGenerator.cs to reflect that it's building a SQL DROP COLUMN statement.
Added: The concept of steps into the migration class.
272 lines of code changed in 7 files:
Added: Column generation abstract methods to ISqlGenerator.cs.
Added: Column generation concrete methods to ANSISqlGenerator.cs.
Added: Tests to support column generation methods in ISqlGenerator.cs.
Removed: Abstract column methods from DataProvider and descendents, generation code moving to generators.
Removed: Abstract column methods from DataService, generation code moving to generators.
208 lines of code changed in 12 files:
Changed: Moving Migration support from Providers to Generators.
Added: Drop_Table & Create_Table tests.
154 lines of code changed in 4 files:
ADDED: Test to support ActiveList serialization discussion. See: http://forums.subsonicproject.com/forums/t/2822.aspx
20 lines of code changed in 1 file:
FIXED: Multiple INs in a SqlQuery caused the first set of IN parameters to be used for the any subsequent INs. See: http://forums.subsonicproject.com/forums/t/2795.aspx
13 lines of code changed in 4 files:
CHANGED: Removed several empty ctors marked as private, there is no default ctor when other ctors are present.
1 lines of code changed in 4 files:
(10 more)