Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace Vidly.Migrations
- {
- using System;
- using System.Data.Entity.Migrations;
- public partial class ApplyAnnotationsToCustomerName : DbMigration
- {
- public override void Up()
- {
- AlterColumn("dbo.Customers", "Name", c => c.String(nullable: false, maxLength: 255));
- }
- public override void Down()
- {
- AlterColumn("dbo.Customers", "Name", c => c.String());
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement