package migrations

var empty_migration = map[string][]string{
	"mysql":    {},
	"postgres": {},
}

var V1LegacyMigrationsToPerform = PolicyServerMigrations{
	PolicyServerMigration{
		Id: "1",
		Up: migration_v0001,
	},
	PolicyServerMigration{
		Id: "1a",
		Up: empty_migration,
	},
	PolicyServerMigration{
		Id: "1b",
		Up: empty_migration,
	},
}

var V1ModifiedMigrationsToPerform = PolicyServerMigrations{
	PolicyServerMigration{
		Id: "1",
		Up: migration_modified_v0001,
	},
	PolicyServerMigration{
		Id: "1a",
		Up: migration_modified_v0001a,
	},
	PolicyServerMigration{
		Id: "1b",
		Up: migration_modified_v0001b,
	},
}

var V2LegacyMigrationsToPerform = PolicyServerMigrations{
	PolicyServerMigration{
		Id: "2",
		Up: migration_v0002,
	},
	PolicyServerMigration{
		Id: "2a",
		Up: empty_migration,
	},
	PolicyServerMigration{
		Id: "2b",
		Up: empty_migration,
	},
	PolicyServerMigration{
		Id: "2c",
		Up: empty_migration,
	},
	PolicyServerMigration{
		Id: "2d",
		Up: empty_migration,
	},
	PolicyServerMigration{
		Id: "2e",
		Up: empty_migration,
	},
	PolicyServerMigration{
		Id: "2f",
		Up: empty_migration,
	},
}

var V2ModifiedMigrationsToPerform = PolicyServerMigrations{
	PolicyServerMigration{
		Id: "2",
		Up: migration_modified_v0002,
	},
	PolicyServerMigration{
		Id: "2a",
		Up: migration_modified_v0002a,
	},
	PolicyServerMigration{
		Id: "2b",
		Up: migration_modified_v0002b,
	},
	PolicyServerMigration{
		Id: "2c",
		Up: migration_modified_v0002c,
	},
	PolicyServerMigration{
		Id: "2d",
		Up: migration_modified_v0002d,
	},
	PolicyServerMigration{
		Id: "2e",
		Up: migration_modified_v0002e,
	},
	PolicyServerMigration{
		Id: "2f",
		Up: migration_modified_v0002f,
	},
}

var V3LegacyMigrationsToPerform = PolicyServerMigrations{
	PolicyServerMigration{
		Id: "3",
		Up: migration_v0003,
	},
	PolicyServerMigration{
		Id: "3a",
		Up: empty_migration,
	},
}

var V3ModifiedMigrationsToPerform = PolicyServerMigrations{
	PolicyServerMigration{
		Id: "3",
		Up: migration_modified_v0003,
	},
	PolicyServerMigration{
		Id: "3a",
		Up: migration_modified_v0003a,
	},
}

var MigrationsToPerform = PolicyServerMigrations{
	PolicyServerMigration{
		Id: "4",
		Up: migration_v0004,
	},
	PolicyServerMigration{
		Id: "5",
		Up: migration_v0005,
	},
	PolicyServerMigration{
		Id: "6",
		Up: migration_v0006,
	},
	PolicyServerMigration{
		Id: "7",
		Up: migration_v0007,
	},
	PolicyServerMigration{
		Id: "8",
		Up: migration_v0008,
	},
	PolicyServerMigration{
		Id: "9",
		Up: migration_v0009,
	},
	PolicyServerMigration{
		Id: "10",
		Up: migration_v0010,
	},
	PolicyServerMigration{
		Id: "11",
		Up: migration_v0011,
	},
	PolicyServerMigration{
		Id: "12",
		Up: migration_v0012,
	},
	PolicyServerMigration{
		Id: "13",
		Up: migration_v0013,
	},
	PolicyServerMigration{
		Id: "14",
		Up: migration_v0014,
	},
	PolicyServerMigration{
		Id: "15",
		Up: migration_v0015,
	},
	PolicyServerMigration{
		Id: "16",
		Up: migration_v0016,
	},
	PolicyServerMigration{
		Id: "17",
		Up: migration_v0017,
	},
	PolicyServerMigration{
		Id: "18",
		Up: migration_v0018,
	},
	PolicyServerMigration{
		Id: "19",
		Up: migration_v0019,
	},
	PolicyServerMigration{
		Id: "20",
		Up: migration_v0020,
	},
	PolicyServerMigration{
		Id: "21",
		Up: migration_v0021,
	},
	PolicyServerMigration{
		Id: "22",
		Up: migration_v0022,
	},
	PolicyServerMigration{
		Id: "23",
		Up: migration_v0023,
	},
	PolicyServerMigration{
		Id: "24",
		Up: migration_v0024,
	},
	PolicyServerMigration{
		Id: "25",
		Up: migration_v0025,
	},
	PolicyServerMigration{
		Id: "26",
		Up: migration_v0026,
	},
	PolicyServerMigration{
		Id: "27",
		Up: migration_v0027,
	},
	PolicyServerMigration{
		Id: "28",
		Up: migration_v0028,
	},
	PolicyServerMigration{
		Id: "29",
		Up: migration_v0029,
	},
	PolicyServerMigration{
		Id: "30",
		Up: migration_v0030,
	},
	PolicyServerMigration{
		Id: "31",
		Up: migration_v0031,
	},
	PolicyServerMigration{
		Id: "32",
		Up: migration_v0032,
	},
	PolicyServerMigration{
		Id: "33",
		Up: migration_v0033,
	},
	PolicyServerMigration{
		Id: "34",
		Up: migration_v0034,
	},
	PolicyServerMigration{
		Id: "35",
		Up: migration_v0035,
	},
	PolicyServerMigration{
		Id: "36",
		Up: migration_v0036,
	},
	PolicyServerMigration{
		Id: "37",
		Up: migration_v0037,
	},
	PolicyServerMigration{
		Id: "38",
		Up: migration_v0038,
	},
	PolicyServerMigration{
		Id: "39",
		Up: migration_v0039,
	},
	PolicyServerMigration{
		Id: "40",
		Up: migration_v0040,
	},
	PolicyServerMigration{
		Id: "41",
		Up: migration_v0041,
	},
	PolicyServerMigration{
		Id: "42",
		Up: migration_v0042,
	},
	PolicyServerMigration{
		Id: "43",
		Up: migration_v0043,
	},
	PolicyServerMigration{
		Id: "44",
		Up: migration_v0044,
	},
	PolicyServerMigration{
		Id: "45",
		Up: migration_v0045,
	},
	PolicyServerMigration{
		Id: "46",
		Up: migration_v0046,
	},
	PolicyServerMigration{
		Id: "47",
		Up: migration_v0047,
	},
	PolicyServerMigration{
		Id: "48",
		Up: migration_v0048,
	},
	PolicyServerMigration{
		Id: "49",
		Up: migration_v0049,
	},
	PolicyServerMigration{
		Id: "50",
		Up: migration_v0050,
	},
	PolicyServerMigration{
		Id: "51",
		Up: migration_v0051,
	},
	PolicyServerMigration{
		Id: "52",
		Up: migration_v0052,
	},
	PolicyServerMigration{
		Id: "53",
		Up: migration_v0053,
	},
	PolicyServerMigration{
		Id: "54",
		Up: migration_v0054,
	},
	PolicyServerMigration{
		Id: "55",
		Up: migration_v0055,
	},
	PolicyServerMigration{
		Id: "56",
		Up: migration_v0056,
	},
	PolicyServerMigration{
		Id: "57",
		Up: migration_v0057,
	},
	PolicyServerMigration{
		Id: "58",
		Up: migration_v0058,
	},
	PolicyServerMigration{
		Id: "59",
		Up: migration_v0059,
	},
	PolicyServerMigration{
		Id: "60",
		Up: migration_v0060,
	},
	PolicyServerMigration{
		Id: "61",
		Up: migration_v0061,
	},
	PolicyServerMigration{
		Id: "62",
		Up: migration_v0062,
	},
	PolicyServerMigration{
		Id: "63",
		Up: migration_v0063,
	},
	PolicyServerMigration{
		Id: "64",
		Up: migration_v0064,
	},
	PolicyServerMigration{
		Id: "65",
		Up: migration_v0065,
	},
	PolicyServerMigration{
		Id: "66",
		Up: migration_v0066,
	},
	PolicyServerMigration{
		Id: "67",
		Up: migration_v0067,
	},
	PolicyServerMigration{
		Id: "68",
		Up: migration_v0068,
	},
	PolicyServerMigration{
		Id: "69",
		Up: migration_v0069,
	},
	PolicyServerMigration{
		Id: "70",
		Up: migration_v0070,
	},
	PolicyServerMigration{
		Id: "71",
		Up: migration_v0071,
	},
	PolicyServerMigration{
		Id: "72",
		Up: migration_v0072,
	},
	PolicyServerMigration{
		Id: "73",
		Up: migration_v0073,
	},
	PolicyServerMigration{
		Id: "74",
		Up: migration_v0074,
	},
	PolicyServerMigration{
		Id: "75",
		Up: migration_v0075,
	},
	PolicyServerMigration{
		Id: "76",
		Up: migration_v0076,
	},
	PolicyServerMigration{
		Id: "77",
		Up: migration_v0077,
	},
	PolicyServerMigration{
		Id: "78",
		Up: migration_v0078,
	},
	PolicyServerMigration{
		Id: "79",
		Up: migration_v0079,
	},
	PolicyServerMigration{
		Id: "80",
		Up: migration_v0080,
	},
	PolicyServerMigration{
		Id: "81",
		Up: migration_v0081,
	},
	PolicyServerMigration{
		Id: "82",
		Up: migration_v0082,
	},
	PolicyServerMigration{
		Id: "83",
		Up: migration_v0083,
	},
	PolicyServerMigration{
		Id: "84",
		Up: migration_v0084,
	},
	PolicyServerMigration{
		Id: "85",
		Up: migration_v0085,
	},
	PolicyServerMigration{
		Id: "86",
		Up: migration_v0086,
	},
	PolicyServerMigration{
		Id: "87",
		Up: migration_v0087,
	},
	PolicyServerMigration{
		Id: "88",
		Up: migration_v0088,
	},
	PolicyServerMigration{
		Id: "89",
		Up: migration_v0089,
	},
	PolicyServerMigration{
		Id: "90",
		Up: migration_v0090,
	},
	PolicyServerMigration{
		Id: "91",
		Up: migration_v0091,
	},
	PolicyServerMigration{
		Id: "92",
		Up: migration_v0092,
	},
	PolicyServerMigration{
		Id: "93",
		Up: migration_v0093,
	},
	PolicyServerMigration{
		Id: "94",
		Up: migration_v0094,
	},
	PolicyServerMigration{
		Id: "95",
		Up: migration_v0095,
	},
	PolicyServerMigration{
		Id: "96",
		Up: migration_v0096,
	},
	PolicyServerMigration{
		Id: "97",
		Up: migration_v0097,
	},
	PolicyServerMigration{
		Id: "98",
		Up: migration_v0098,
	},
	PolicyServerMigration{
		Id: "99",
		Up: migration_v0099,
	},
	PolicyServerMigration{
		Id: "100",
		Up: migration_v0100,
	},
}
