package migrations

import (
	"database/sql"

	"github.com/remind101/migrate"
)

const (
	MigrationTable = "libindex_migrations"
)

var Migrations = []migrate.Migration{
	{
		ID: 1,
		Up: func(tx *sql.Tx) error {
			_, err := tx.Exec(migration1)
			return err
		},
	},
	{
		ID: 2,
		Up: func(tx *sql.Tx) error {
			_, err := tx.Exec(migration2)
			return err
		},
	},
	{
		ID: 3,
		Up: func(tx *sql.Tx) error {
			_, err := tx.Exec(migration3)
			return err
		},
	},
}
