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

Method Up

src/Data/Migrations/0010_AddCache.cs:8–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6public class AddCache : Migration
7{
8 public override void Up()
9 {
10 Create.Table("cache")
11 .WithColumn("key").AsString(100).NotNullable().PrimaryKey()
12 .WithColumn("value").AsCustom("TEXT").NotNullable()
13 .WithColumn("expires_at").AsDateTimeOffset().NotNullable();
14 }
15
16 public override void Down()
17 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected