Shannon
7b99efb061
Working on: U4-4133 Database key changes are not fixed in the Umbraco 7 installer!
2014-10-16 11:24:29 +10:00
Shannon
00f86ffef7
More work on sql parameterization with sql expressions, lots of tests passing but a few fixes still required. Streamlines IQuery to actually have the correct method implementations so we're not casting everywhere.
2014-09-24 13:51:16 +10:00
Shannon
bbe6194b06
Exception is thrown if trying to run mysql in med trust. Migrations arranged to execute schema migrations first and then data migrations. If a schema migration fails it will attempt to run the downgrade scripts of the migrations if running mysql since schema changes aren't supported in transactions. Updated all sql syntax providers to try to return only the column indexes, not key indexes. Updates the db version checker to include errors for all missing columns, indexes and constraints in the db and vice versa in the schema.
2014-03-14 13:04:20 +11:00
Shannon
aee10348e5
Ensures not to add new indexes if they already exist
2014-03-12 18:37:22 +11:00
Shannon
3a92c26a7f
Adds ability to extract index details from databases using sql syntax provider.
2014-03-12 17:17:52 +11:00
Shannon
2dd04799b2
WIP membership provider updates
2013-12-19 18:33:25 +11:00
Shannon
a21aa079ff
Adds ability to use the query builder with string matches based on an NText column
2013-12-18 17:22:00 +11:00
Shannon
7e9cad34db
Creates an SQL Server version check for bulk sql imports.
2013-08-02 16:01:54 +10:00
Morten Christensen
928d92fce4
Making the Sql Syntax Providers public and changing a few names and bits for consistency.
...
Adding resolver for the syntax providers and wiring it up in the boot manager.
2013-03-09 10:43:34 -01:00
Morten Christensen
5d0aced9a7
Giving the install/upgrade a bit of TLC.
...
Fixes U4-1520
2013-01-28 14:01:38 -01:00
Morten Christensen
7aabf459ea
Adding schema validation to the DatabaseSchemaCreation class.
...
Helps determine if valid database exists and which version it corresponds to.
On startup the legacy connectionstring is used if one exists, so its not ignore but rather reconfigured.
Relates to U4-1520.
2013-01-25 15:05:42 -01:00
Morten Christensen
64af0a610b
Refactoring migrations by adding an abstract class to all expressions that allow for processing prior to returning an sql statement.
...
Refactoring the current sql syntax providers to better work with sql ce, sql server and mysql.
Adding migrations for v4.8 and v6.0.
Adding test cases for upgrading from 4.7 to 6.0 for the 3 database providers - sql ce, sql server and mysql.
Adding product name to the MigrationAttribute, which adds more flexibility to the MigrationRunner.
Fixing schema creation for mysql, which broke during a previous refactor task.
2012-12-27 18:52:47 -01:00
Morten Christensen
c1695c2f7f
Updating expressions to output sql for use with the fluent migrations, so it can be used for db upgrades.
2012-12-20 11:36:20 -01:00
Morten Christensen
2ea3fe624f
Refactoring SqlSyntaProvider to use the new common definitions.
2012-12-19 15:23:05 -01:00
Morten Christensen
736fbc6659
Moving database definition models, so they are shared and can be used in the sql syntax provider.
2012-12-07 13:48:38 -01:00
Morten Christensen
f59f57fd6a
Initial work on fluent database migrations
2012-11-30 15:01:52 -01:00
sitereactor
ee96ced595
Adding missing code comments/documentation
2012-10-23 08:09:01 -02:00
sitereactor
c1909eccf5
Refactoring database creation, adding sql syntax provider to account for differences in syntax between sql, ce and mysql.
...
Adding MySql unit test.
2012-10-19 13:20:57 -02:00