Skip to content

joozek78/universal-migrator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

universal-migrator

Example:

public class ExampleMigration : IFluentMigration
{
    public void Up(IMigrationBuilder migrationBuilder)
    {
	    var patient = migrationBuilder.CreateTable("patient")
		    .InSchema("adt");
	    patient.AddColumn("id")
			.HasType("int")
			.IsPrimaryKey();
		patient.AddColumn("name")
			.HasType("text");
    }
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages