Commit 2e5852f8 authored by Petar Hristov's avatar Petar Hristov 💬
Browse files

Merge branch 'Sprint/2021-10' into 'master'

Sprint/2021 10

See merge request !62
parents 7034817a a14b1b66
using FluentMigrator;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Coscine.Migrations
{
[Migration(202105261518)]
public class Migration202105261518ResourceArchiving : FluentMigrator.Migration
{
public override void Down()
{
Delete.Column("Archived").FromTable("Resources");
}
public override void Up()
{
Alter.Table("Resources")
.AddColumn("Archived").AsString().WithDefaultValue("0");
}
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment