adopt more of the migrations conventions

This commit is contained in:
Shaun Walker
2022-04-02 11:24:41 -04:00
parent 9b29487934
commit 412b139796
6 changed files with 38 additions and 36 deletions

View File

@ -0,0 +1,18 @@
using Oqtane.Models;
namespace Oqtane.Infrastructure
{
[SiteMigration("localhost:44357", "01.00.00")]
public class ExampleSiteMigration : ISiteMigration
{
void ISiteMigration.Up(Site site, Alias alias)
{
// execute some version-specific upgrade logic for the site here such as adding pages, modules, content, etc...
}
void ISiteMigration.Down(Site site, Alias alias)
{
// not implemented
}
}
}