mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-21 22:04:31 -04:00
Added CreateIndex to Migrator
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using System;
|
||||
using System.Data;
|
||||
using Migrator.Framework;
|
||||
using ForeignKeyConstraint=Migrator.Framework.ForeignKeyConstraint;
|
||||
@@ -53,7 +54,12 @@ namespace Migrator.Providers
|
||||
{
|
||||
// No Op
|
||||
}
|
||||
|
||||
|
||||
public void RemoveIndex(string table, string name)
|
||||
{
|
||||
// No Op
|
||||
}
|
||||
|
||||
public void AddTable(string name, params Column[] columns)
|
||||
{
|
||||
// No Op
|
||||
@@ -129,6 +135,16 @@ namespace Migrator.Providers
|
||||
// No Op
|
||||
}
|
||||
|
||||
public void AddIndex(string name, string table, params string[] columns)
|
||||
{
|
||||
//No Op
|
||||
}
|
||||
|
||||
public void AddIndex(string name, string table, bool unique, params string[] columns)
|
||||
{
|
||||
//No Op
|
||||
}
|
||||
|
||||
public void AddPrimaryKey(string name, string table, params string[] columns)
|
||||
{
|
||||
// No Op
|
||||
|
||||
Reference in New Issue
Block a user