fluent-migrator
Can a cascade delete rule be added in a migration?
In a FluentMigrator migration, if I\'m defining a relationship, say: Create.Table(\"RelatedTable\") .WithColumn(\"RelatedTableId\").AsGuid().PrimaryKey()[详细]
2023-04-13 05:09 分类:问答Is it possible to set column default to SQL Server's NewId()?
In fluentMigrator, is it possible to set a column default to a function? Specifically, I\'m adding a uniqueidentifier (Guid) column to a SQL S开发者_运维技巧erver 2008 table that already contains dat[详细]
2023-04-08 11:40 分类:问答Is it possible to use fluent migrator in application_start?
I\'m using fluent migrator to manage my database migrations, but what I\'d like to do is have the migrations run at app start. The closest I have managed is this:[详细]
2023-04-07 20:59 分类:问答How can I unit test my FluentMigrator migrations?
The general advice is I should always test my database migrations, but how to do it seems to be a well kept secret ;)[详细]
2023-04-01 22:34 分类:问答Code Generation Templates of Migration Classes in FluentMigrator
Are there any code generation templates available开发者_StackOverflow中文版 for use with FluentMigrator to generate migration classes from SQL (T-SQL) statements?[详细]
2023-03-09 17:45 分类:问答rolling back a view to a previous version of the same view
I\'m using FM to deploy a database. As a part of that deploy, I\'m rolling out a view. The changes go like this:[详细]
2023-03-06 14:30 分类:问答Can I create a column of nvarchar(MAX) using FluentMigrator?
Using FluentMigrator, the default creation of a Column using .AsString() results in an nvarchar(255).Is there a simple way (before I modify the FluentMigrator code) to create a 开发者_如何学Pythoncolu[详细]
2022-12-23 15:42 分类:问答FluentMigrator Failed Migrations Don't Rollback?
I just began experimenting with Fl开发者_StackOverflowuentMigrator. I noticed that failed migrations are not being rolled back. Has this just not been implemented yet? This seems rather bad because it[详细]
2022-12-17 03:16 分类:问答