MCPcopy Create free account
hub / github.com/aptabase/aptabase / AddLockReason

Class AddLockReason

src/Data/Migrations/0008_AddLockReason.cs:5–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3namespace Aptabase.Data.Migrations;
4
5[Migration(0008)]
6public class AddLockReason : Migration
7{
8 public override void Up()
9 {
10 Alter.Table("users")
11 .AddColumn("lock_reason").AsFixedLengthString(1).Nullable();
12 }
13
14 public override void Down()
15 {
16 Delete.Column("lock_reason").FromTable("users");
17 }
18}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected