diff --git a/db/migrations/0002_dex_admin.sql b/db/migrations/0002_dex_admin.sql index b5651599..7b32da02 100644 --- a/db/migrations/0002_dex_admin.sql +++ b/db/migrations/0002_dex_admin.sql @@ -1,2 +1,4 @@ -- +migrate Up ALTER TABLE client_identity ADD COLUMN "dex_admin" boolean; + +UPDATE "client_identity" SET "dex_admin" = false; diff --git a/db/migrations/0003_user_created_at.sql b/db/migrations/0003_user_created_at.sql index 976079bb..dc90f29a 100644 --- a/db/migrations/0003_user_created_at.sql +++ b/db/migrations/0003_user_created_at.sql @@ -1,2 +1,4 @@ -- +migrate Up ALTER TABLE authd_user ADD COLUMN "created_at" bigint; + +UPDATE authd_user SET "created_at" = 0; diff --git a/db/migrations/assets.go b/db/migrations/assets.go index 33326353..c89b5797 100644 --- a/db/migrations/assets.go +++ b/db/migrations/assets.go @@ -94,7 +94,7 @@ func dbMigrations0001_initial_migrationSql() (*asset, error) { return a, nil } -var _dbMigrations0002_dex_adminSql = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xd2\xd5\x55\xd0\xce\xcd\x4c\x2f\x4a\x2c\x49\x55\x08\x2d\xe0\x72\xf4\x09\x71\x0d\x52\x08\x71\x74\xf2\x71\x55\x48\xce\xc9\x4c\xcd\x2b\x89\xcf\x4c\x01\x92\x99\x25\x95\x0a\x8e\x2e\x2e\x0a\xce\xfe\x3e\xa1\xbe\x7e\x0a\x4a\x29\xa9\x15\xf1\x89\x29\xb9\x99\x79\x4a\x0a\x49\xf9\xf9\x39\xa9\x89\x79\xd6\x5c\x80\x00\x00\x00\xff\xff\xfd\xb4\x6c\x60\x4b\x00\x00\x00") +var _dbMigrations0002_dex_adminSql = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xd2\xd5\x55\xd0\xce\xcd\x4c\x2f\x4a\x2c\x49\x55\x08\x2d\xe0\x72\xf4\x09\x71\x0d\x52\x08\x71\x74\xf2\x71\x55\x48\xce\xc9\x4c\xcd\x2b\x89\xcf\x4c\x01\x92\x99\x25\x95\x0a\x8e\x2e\x2e\x0a\xce\xfe\x3e\xa1\xbe\x7e\x0a\x4a\x29\xa9\x15\xf1\x89\x29\xb9\x99\x79\x4a\x0a\x49\xf9\xf9\x39\xa9\x89\x79\xd6\x5c\x5c\xa1\x01\x2e\x8e\x21\xae\x0a\x4a\x68\x1a\x95\x14\x82\x5d\x43\x50\xb4\xd8\x2a\xa4\x25\xe6\x14\xa7\x5a\x73\x01\x02\x00\x00\xff\xff\x89\xb3\xb1\x5d\x7e\x00\x00\x00") func dbMigrations0002_dex_adminSqlBytes() ([]byte, error) { return bindataRead( @@ -109,12 +109,12 @@ func dbMigrations0002_dex_adminSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "db/migrations/0002_dex_admin.sql", size: 75, mode: os.FileMode(420), modTime: time.Unix(1, 0)} + info := bindataFileInfo{name: "db/migrations/0002_dex_admin.sql", size: 126, mode: os.FileMode(420), modTime: time.Unix(1, 0)} a := &asset{bytes: bytes, info: info} return a, nil } -var _dbMigrations0003_user_created_atSql = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xd2\xd5\x55\xd0\xce\xcd\x4c\x2f\x4a\x2c\x49\x55\x08\x2d\xe0\x72\xf4\x09\x71\x0d\x52\x08\x71\x74\xf2\x71\x55\x48\x2c\x2d\xc9\x48\x89\x2f\x2d\x4e\x2d\x52\x70\x74\x71\x51\x70\xf6\xf7\x09\xf5\xf5\x53\x50\x4a\x2e\x4a\x05\x2a\x4e\x89\x4f\x2c\x51\x52\x48\xca\x4c\xcf\xcc\x2b\xb1\xe6\x02\x04\x00\x00\xff\xff\xf4\xa1\xf0\x95\x46\x00\x00\x00") +var _dbMigrations0003_user_created_atSql = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xd2\xd5\x55\xd0\xce\xcd\x4c\x2f\x4a\x2c\x49\x55\x08\x2d\xe0\x72\xf4\x09\x71\x0d\x52\x08\x71\x74\xf2\x71\x55\x48\x2c\x2d\xc9\x48\x89\x2f\x2d\x4e\x2d\x52\x70\x74\x71\x51\x70\xf6\xf7\x09\xf5\xf5\x53\x50\x4a\x2e\x4a\x05\x2a\x4e\x89\x4f\x2c\x51\x52\x48\xca\x4c\xcf\xcc\x2b\xb1\xe6\xe2\x0a\x0d\x70\x71\x0c\x41\xd1\x12\xec\x1a\x82\xaa\xd6\x56\xc1\xc0\x9a\x0b\x10\x00\x00\xff\xff\x28\xce\xe1\xe1\x6f\x00\x00\x00") func dbMigrations0003_user_created_atSqlBytes() ([]byte, error) { return bindataRead( @@ -129,7 +129,7 @@ func dbMigrations0003_user_created_atSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "db/migrations/0003_user_created_at.sql", size: 70, mode: os.FileMode(420), modTime: time.Unix(1, 0)} + info := bindataFileInfo{name: "db/migrations/0003_user_created_at.sql", size: 111, mode: os.FileMode(420), modTime: time.Unix(1, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -194,7 +194,7 @@ func dbMigrations0006_user_email_uniqueSql() (*asset, error) { return a, nil } -var _dbMigrationsAssetsGo = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xd4\x99\x5b\x6f\xdb\x46\xf6\xc0\x9f\xad\x4f\xc1\x1a\x68\x21\xfd\xe1\xbf\x4c\xf1\x22\x8a\x06\xfa\xd2\x26\x0b\xe4\xa1\x29\xb0\xcd\x3e\xad\x17\xc2\x90\x1c\xba\x44\x65\xc9\x11\xe5\xae\x93\x20\xdf\x7d\xcf\x6f\xce\x91\xad\xc4\x92\x9d\x38\x1b\x64\xfb\x40\x8b\x9c\x39\x73\xe6\xdc\x6f\x3e\x3d\x8d\x7e\x5e\x35\x3e\xba\xf0\x4b\xbf\x76\x1b\xdf\x44\xd5\x9b\xe8\x62\xf5\xff\x55\xb7\x6c\xdc\xc6\x8d\x07\x02\xd0\xaf\xae\xd7\xb5\xef\xcf\x78\x6f\xaa\xd3\xcb\xee\x42\x20\xbb\xd5\xb2\x3f\x8d\xe3\x78\x32\xef\x96\xdd\xa6\x73\x8b\xf9\xed\xfa\xb8\x7f\xbd\xd8\x0b\x9b\xcc\x1b\x7f\x33\x77\xcd\x65\x77\x18\x26\x9d\x5f\xf7\x7e\x3d\xaf\xd7\x1e\x6a\xe6\x6e\x73\x10\x32\x9b\xf7\xbe\xef\xe5\x6b\xbe\x5c\x2d\x6b\x7f\x10\x2e\x9f\xaf\x7d\xbb\xf6\xfd\xef\xf3\xcd\xea\x0f\xbf\x34\xd4\x07\xc1\xa7\x4a\x80\xbf\x74\xdd\x62\x7e\xbd\xec\x5e\x5f\x1f\x80\x75\x7d\xef\x37\xfd\xf8\x62\xc5\xd6\xb3\x5f\xa3\x97\xbf\xbe\x8a\x9e\x3f\x7b\xf1\xea\xbb\xc1\xe0\xca\xd5\x7f\xb8\x0b\x1f\xdd\x41\x0f\x06\xdd\xe5\xd5\x6a\xbd\x89\x86\x83\xa3\xe3\xea\xcd\xc6\xf7\xc7\xf2\x52\xaf\x2e\xaf\x84\xb2\xfe\xf4\xe2\x6d\x77\xc5\x42\x7b\xb9\xe1\xa7\x5b\xf1\xb7\xdf\xac\xbb\xe5\x45\x00\x5c\x85\xbf\x9b\xee\xd2\xeb\xf6\x69\xb7\xba\xde\x74\x0b\x3e\xae\xdc\xe6\xf7\xd3\xb6\x5b\x78\x5e\x8e\x07\xa3\xc1\xa0\xbd\x5e\xd6\x91\x29\xf0\xef\xde\x35\x43\x5e\xa2\x7f\xfe\x8b\x6b\x4f\xa2\xa5\xbb\xf4\x91\xa2\x1e\x45\xc3\xed\xaa\x5f\xaf\x57\xeb\x51\xf4\x6e\x70\x74\xf1\x36\x7c\x45\x67\x3f\x46\x50\x35\x7e\xe9\xff\x0d\x12\xbf\x1e\x06\xb2\xf9\xfe\xe9\xba\x6d\xe5\x1b\xb4\xa3\xd1\xe0\xa8\x6b\xc3\x81\xef\x7e\x8c\x96\xdd\x02\x14\x47\x6b\xbf\xb9\x5e\x2f\xf9\x3c\x89\x84\xa5\xf1\x73\xb0\xb7\xc3\x63\x10\x45\xdf\xbf\x3e\x8b\xbe\xff\xf3\x58\x29\x09\x77\x09\x8e\xf7\x83\xc1\xd1\x9f\x6e\x1d\x55\xd7\x6d\xa4\xf7\xe8\x25\x83\xa3\xb9\x92\xf3\x63\xd4\xad\xc6\x3f\xaf\xae\xde\x0c\x7f\x10\x98\x13\xa1\x4d\x4e\xd5\x8b\xe7\x5b\x4a\xc7\x3f\x2f\x56\xbd\x1f\x0a\xfb\xff\x25\x7a\x40\xa3\xf8\x0f\x20\x12\x40\xa5\xdb\x16\x85\xac\xf1\x4f\x90\x3e\x1c\x9d\x00\x31\x90\xbd\xcd\x9b\x2b\x1f\x05\x43\x41\xe4\xd7\xf5\x06\x2c\x81\x3f\xd3\x87\x5c\xb3\x6c\x57\x51\xb4\xea\xc7\x7f\x13\x1d\xbe\x90\x8f\xdb\x73\xa6\xc2\xed\xfa\x0e\x86\x1d\x1d\x0e\x8e\xfa\xee\xad\x8f\xba\xe5\x66\x9a\x0d\x8e\x2e\xf1\x65\xc3\xf5\x8b\xbc\x87\x95\x57\x62\x36\x11\xb6\x33\xe6\x0d\xf4\xc1\x42\x86\x6d\xf7\xf1\x15\xa3\xe8\xa5\x60\x1e\x8e\x0c\x37\x57\x19\x73\x6d\x37\xe6\x52\x39\x7c\xf8\xec\x6f\x42\x88\x9c\x0d\xa4\x7c\x78\x14\x12\x1f\x3c\x0a\xad\x72\x74\x87\xf2\x0f\x11\xc0\xd7\x63\x08\x60\x4e\x70\xdc\x32\x7a\x0f\x83\x71\x7f\x18\xc9\x8b\xfe\x59\xb7\x16\x14\xd5\x6a\xb5\xd8\x3d\xed\x16\xfd\x23\x9c\xbf\xe9\x95\x71\xbf\x6e\x5d\xed\xdf\xbd\xdf\x39\x6d\x96\x80\x71\xcf\x9b\xea\x97\xdb\x88\xb0\x3f\x76\xfe\xf6\x7a\x21\xa6\xae\xb6\x31\x3c\x3e\xbf\x99\xb4\xe7\x37\xb3\xea\xfc\x26\x9e\xc9\x13\xdb\x53\x9e\xdf\x4c\xbd\xac\xdb\x5a\x2b\x30\x65\x2d\x4f\x7a\x7e\x53\x03\xef\xce\x6f\x1a\x39\x93\xca\xde\x44\x9e\x7a\x7a\x7e\xe3\x65\xbd\x90\x73\xb1\xec\x95\x13\xd9\x17\xd8\x99\xac\x4f\xe5\x29\x65\xcf\x09\x9c\x2b\xe4\xbb\x11\x38\xd9\x9f\xca\xe3\xe4\xa9\x32\x81\x95\xbd\x22\xd7\xef\x54\x60\x52\xd6\xe5\x3b\x01\xaf\xd0\x91\x43\x83\x9c\xcb\x04\xe7\x44\xf0\x4f\x05\x5f\x53\xe8\x6f\xce\xbb\xdc\x9b\x09\xdc\x44\x70\xd5\xb2\x5e\x7b\xa5\x89\xf3\x33\xc1\x35\x93\xf5\x5c\x78\x69\xe4\xbb\x15\x3e\x3c\x34\x55\x7a\x1e\xfa\x26\x5e\xe5\x50\xcb\x9d\x71\xa1\xf7\x40\x0f\xbc\x67\x9c\x31\x7e\x80\x4f\xbd\xca\x23\x11\x7c\x25\xf7\x08\x3d\x59\x22\xef\x72\x47\xd6\x2a\xaf\x15\xf8\xa0\x5d\xd6\xdb\x52\xe5\xdb\x0a\x7c\x2b\x6b\x55\x63\x74\xc2\xaf\xc0\x7a\xb9\xaf\x94\xa7\x15\xd8\x4c\xd6\xa6\xb5\xca\xc1\x23\x0b\xd9\xcf\x04\x7f\x0a\x8d\xf2\x5d\x0b\x0d\xb9\xbc\xa7\xb5\xc2\xd5\x82\xa7\x8d\x95\xff\x52\xce\x37\x4e\xe5\x0f\xef\xc8\x11\x1a\xe0\xd9\xe5\x4a\xbb\x4b\x55\xae\x9c\x41\x2e\x71\x6d\xb2\x31\xb9\x40\x53\xb1\xd5\x57\xab\x74\xc4\xf0\x9e\xe8\xdd\xb5\xd0\x5e\x97\xba\x5e\x18\x7c\x16\xab\xcc\xea\xc4\xe8\x91\x7d\xdf\xa8\xbd\x20\xbb\x2a\x56\x1e\xe3\x4a\xed\xc6\x25\xaa\x3b\x74\x0e\x6f\xac\xc7\x53\xb5\x8d\x7a\xa2\x76\x02\x5d\xf0\x34\x91\xdf\x0a\x9d\xa7\xaa\x9f\x60\x1b\x9c\x95\x7b\x73\xe4\xe6\x14\x4f\x25\x38\x13\xb9\xbb\x84\x7e\xec\xb6\x34\xfb\xac\xf4\x0e\xec\x18\xfd\xc7\xb2\xef\x33\xd5\x55\x85\x0d\xe6\xca\x7f\x9b\xea\x77\x36\x51\x5a\x80\x83\x86\x18\x9d\xb3\x57\x28\xfe\x20\x7f\xd3\xe7\x44\x60\x2a\xf9\x4d\x62\xb5\x8d\xaa\x55\x78\x68\x2b\x04\xde\xcb\x7d\x3e\x56\xf9\x23\xcf\xba\xd6\x35\x7c\x24\x6d\x54\x27\xf8\x12\xf6\x00\x4d\xdc\x8d\x0c\x67\xb5\xd1\x23\xeb\xb3\x44\xfd\x10\x7d\x41\x3f\xf0\xe0\x47\xb6\xd0\x10\x64\xdf\xaa\xbf\xb4\x02\x57\xa4\x8a\x27\x2b\x55\x26\xb1\xc9\x0b\x3d\x40\x53\x2e\xfb\x49\xa2\xb2\x83\x2e\xe0\xb9\x23\x13\x7c\x93\x4a\xf1\x62\x77\xd8\x2a\x3e\x92\x10\x07\x62\xdd\x47\x8e\xae\x54\x9f\x82\xef\xbc\x56\xdf\x41\xe7\x93\x99\xda\x05\x3a\x2b\xd8\x73\xca\xef\xb4\x54\xfa\x1c\xf6\x28\x6b\xf9\x56\xf7\xa9\xe2\xc2\x66\x6b\xc1\x9f\x14\x2a\x73\xec\x93\xd8\x83\x3f\x3a\xec\x92\x58\xd1\xa8\x7f\x00\x83\x2c\xd0\x0f\x76\x91\x7b\xa5\x21\x6b\xd4\xce\x89\x11\x49\xae\xf4\x62\x97\x81\xff\x52\xef\x45\x06\xd8\x25\x7e\x43\xbc\xc1\x9e\x80\x0f\xf7\x4c\x55\x27\xd0\x12\xe2\xa0\xac\xf9\x5a\x6d\xa7\x88\x15\x3f\xf1\x0c\x9e\x9b\x46\x69\xe2\x1d\x99\x67\x85\xca\xcd\x73\xaf\xe0\x9d\xca\x5d\xad\xd3\x18\x94\x63\x6b\xc0\x25\x6a\x63\xe8\x0e\x9d\x83\x83\xb5\x04\xbc\xa5\xfa\x03\xf1\x10\x7d\xe3\xb7\x33\x8b\xa7\xe0\x47\x07\x0e\xb8\xa9\xf2\x5d\xd5\x2a\x07\x64\x8c\xbd\x72\x07\x3a\x24\x2e\xc3\x2f\x76\xd2\x22\xdf\x5a\xe3\x24\x31\xcc\xa7\x6a\xff\x05\x31\xab\x55\x9e\x72\xec\x1f\x5d\xc9\x7a\x35\x53\xfd\x12\x17\x42\x2e\x28\x34\x96\x57\x4e\x75\x8e\x5d\x61\x47\xdb\xdc\x40\xec\xe3\x71\x5e\xe3\x1c\x3e\x44\x2c\x27\x1e\xc5\xf9\x16\xee\x78\x5b\x25\x7e\x52\x42\xb2\xa2\x66\x5f\xb1\xb8\x2d\x7d\x76\x8a\x4d\xa9\x92\x3e\x2d\xcf\x9d\x08\xe4\xf1\xa7\xf6\x13\xc7\x02\x3d\xba\x2d\x5d\x3e\x09\x3f\x14\xff\x5f\xa8\xbd\x76\x29\x0e\xc5\xd7\x6d\x85\xfb\x39\xfc\x3f\x56\x58\xde\xd6\x83\xa1\xa2\x13\xe4\x1f\x95\x09\xef\x28\xa0\xce\xa2\xcf\x60\x39\xa2\x6e\x3a\x8b\x26\xe9\x6c\x76\x12\x51\x02\x9d\xed\x56\x48\xc3\x2c\x89\x47\x61\x9d\xc2\xe6\x4c\x0b\x9f\x7f\x2c\xbb\x9b\xe1\xe4\x24\x8a\x47\x52\xc1\x3a\xa8\xf8\x21\x88\xe0\x5d\xe0\xfb\x2c\x32\xf6\x21\xf1\x2c\x0a\x3f\xef\x6f\xb5\xe8\x4e\x1e\x2a\x56\x76\x9a\xb7\xa7\x16\x29\x24\xaa\x90\x1c\x72\x4d\x0c\xa1\x10\x68\xd4\xc0\x13\x4b\xa6\x49\xad\x01\x12\x18\xf0\xe1\x88\x04\xea\x02\x07\xca\x14\x2f\x0e\x19\x37\x1a\xb0\x80\xe1\xbb\xc8\x34\x49\x17\xe6\x78\xd9\xcc\xf0\x97\x8a\x9f\x7b\x92\x4a\x93\x0f\xce\xce\x1a\xc9\x93\xc0\x82\xa3\x13\x9c\x48\x50\x24\xe8\x99\x9c\x4b\xec\x09\x09\xdb\xab\xa3\x51\x5c\x84\xa2\xc8\x6b\x22\x8b\xcd\x09\x09\xc4\x04\x4c\x92\x0e\xc5\x08\x77\xb0\x86\x13\x83\x9b\x00\x96\x59\xf2\x87\xb7\xd6\x9e\xd4\xce\xcd\x0c\x86\xa0\x4f\xd0\x9c\xc5\x3b\x72\xdc\x71\x6a\x8a\x2c\x02\x24\xce\x1c\x02\x7f\xb5\x0b\x77\xc8\xa9\x3f\x54\xdc\x17\x3b\xf3\x87\xe8\xf6\x3b\xf1\x47\x8d\xfe\x83\xce\xfb\x21\xbe\x27\x38\xed\x5e\xfe\xbe\x9a\xb3\xde\x63\xcd\x9c\xb4\xc8\xbf\xbd\x8b\xde\x9b\x9d\xfc\x55\x1c\x15\x5c\x89\x55\xaf\x7c\x07\x07\x6a\x75\x8d\xce\x21\x31\x1c\x64\x47\xce\x87\xb3\x13\xfd\xa6\x6a\x27\xab\x72\x5f\x9b\xeb\x93\x5b\x05\x11\xe8\xf4\xe6\x7c\x74\x2c\x4e\xf1\x81\x9f\x6e\x80\x7b\xc1\x03\xee\x10\x30\x9c\x05\x0b\xab\x08\x13\xcb\xe4\x64\xfa\x18\x1e\xb2\x3d\x4e\x99\x69\x50\x20\xbb\x13\x40\xa8\xe6\x1e\x77\xca\x7d\xaa\xfa\x62\xd7\xdc\x87\x74\xbf\x83\xee\x9d\xb2\x3d\xe8\xa6\xfb\x70\x3f\xc1\x59\x1f\xe0\xfb\xab\xb9\xec\x01\x66\xb7\x8e\x1b\x7f\x7b\xc7\xfd\x68\x94\xf9\x57\x70\x5b\x1a\xec\xad\x6b\xe2\x62\xe1\x2e\x73\x1d\xdc\xef\x73\x5d\x15\xd7\xab\x2b\xcb\xcd\x95\xe2\xe6\x1e\x68\x08\x77\x95\x5a\x6c\xf3\xfe\x98\x4b\xd2\x4c\xd1\x90\xd3\x78\x20\x37\x1a\x8b\xc7\x5d\xf2\xbe\x12\xbe\xd8\x21\xef\xa3\xdc\xef\x8e\x7b\x46\xd9\x0f\x3a\xe3\x7d\xbc\x4f\x70\xc5\x83\xfc\x7e\x35\x47\xdc\xcb\xa6\xb9\xe1\xf4\x7f\xc0\x0d\xf7\xff\xa7\xe0\xa9\xde\x48\x5b\x59\xc6\x6a\xfd\x24\x1b\xc6\x07\xb7\x23\x39\xda\xc0\x56\xbd\x81\x4a\x91\x31\x1a\x1e\xc7\xf9\x69\xa2\xb0\x24\x1f\x2a\x4e\x92\x0a\x23\x9b\xd8\xc6\x0a\xb4\xb8\x8c\x63\x72\xab\x68\xf1\x4a\xaa\xc2\xdc\x46\x45\x8c\x40\x18\x85\xd0\x86\xd3\x7e\xe2\x35\x61\xd4\xe3\xb5\x8d\xa5\x25\xa4\xc5\x86\x7e\xc6\x03\xd3\x99\xd1\xe2\xb4\x75\x6e\x2b\xfd\x4e\xcc\x93\x68\x51\x69\x77\xa9\x4c\x2b\x6b\x8b\xc3\x38\xd0\x46\x12\xb4\xbe\x8c\x16\xf0\xc4\xc4\xda\x6e\xc6\x18\xf0\xc9\x1a\xf0\xf9\xe4\x6e\x94\xc5\x28\xa6\x9a\xea\x38\x8c\xd6\xb9\xb2\x71\x10\xf2\x23\x62\x20\x07\xe8\x0f\x72\xa4\xd5\x4f\x35\x79\xd3\x5e\x97\x33\x6d\x85\x43\xb5\xdd\xe8\xf8\x2a\xb7\x08\x40\x9b\xcd\xe8\x88\xd1\x03\x74\x57\x96\xdc\xe1\x89\xd6\xdf\xd9\x88\x2b\xac\x67\x4a\x03\xf4\x21\x4b\x68\x0a\x95\x77\xab\x63\x3d\x57\x1b\x3d\xa9\x8e\x87\xa8\xd4\x4b\x8b\x7c\xc8\x0f\x3a\x83\x4e\xbc\x46\x54\x46\x2c\x8c\x0e\xc2\x78\xaa\xd0\xd1\x0a\xe3\x55\xf0\x4d\x12\xd5\x09\xed\x7c\x18\xdf\xd0\x69\x34\xc6\x77\xae\xed\x3c\xba\x0c\x63\xc4\x54\xe5\xc4\xd8\x2d\xdf\xea\x27\xd1\x7b\xe0\x8f\x5f\xd6\xc2\xf8\xa6\x50\x78\x46\x1b\x44\xc2\x30\xee\xa9\x6c\x54\x9a\xdd\x15\x35\x9c\x27\xf2\x66\xf0\x6a\x38\xfd\x96\xaf\x5a\x7f\xe9\x6e\xd0\x1d\x76\x1c\xc6\x81\x33\xc5\xcd\x98\x91\xce\x08\x79\x25\xdb\x2c\x53\x69\x27\xe3\x4b\x1b\x81\xd9\x98\x98\x7b\xe9\x8a\x72\x1b\xa3\x62\x33\x8c\x7a\xf8\x6d\x6c\xf4\x4a\x01\x86\xfc\x42\xd1\x64\x23\x30\xec\x8e\xec\x83\x6e\x73\xeb\xc6\x2a\x1b\x29\x63\x57\x8c\x63\x18\xc9\x62\x4f\xc8\x6f\x62\x23\x1f\x68\x62\xc4\x86\x1e\x18\x99\x41\x1b\x6b\x61\xc4\x17\x5b\x41\x56\xa9\xae\xf0\xbb\x20\x73\xc6\x49\x4e\xe9\x73\xce\x46\x8d\x36\xda\x62\x04\x93\xda\x08\x28\x64\xb6\xec\xce\x5e\x82\x5f\xe6\xca\x2f\x7a\x68\xcc\x67\x18\x21\x33\x6a\xc5\x87\x18\x85\x36\x13\x1b\x4d\xd9\x78\x91\xec\xc7\xf8\x99\x91\x1d\x76\x80\x9f\x17\x26\x67\xc6\xd8\x64\x3f\xf6\x82\x2d\xb4\xda\x91\xde\x2b\x30\x5b\x1b\x55\x35\x77\x23\xdc\x3b\xb8\x43\xd9\xec\x60\x2c\xfb\xe2\xa4\x76\x10\xf3\xfe\xdc\x76\xf8\xdf\xaf\x0f\xa6\xb8\x83\xb7\x3c\x21\xd3\x3d\x26\x8b\xaf\x96\xf0\x1e\xe2\xdd\xf2\x5e\x1e\x7f\xd3\xc6\xf1\x3f\x01\x00\x00\xff\xff\x49\xb9\xe8\x2d\x00\x20\x00\x00") +var _dbMigrationsAssetsGo = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xd4\x99\x5d\x6f\xdb\x56\xd2\xc7\xaf\xad\x4f\xc1\x1a\x68\x21\x3d\xf0\x23\xf3\x55\x12\x0d\xe4\xa6\x49\x16\xc8\x45\x53\x60\x9b\xbd\x5a\x2f\x84\x43\xf2\xd0\x25\x2a\x4b\x8e\x28\x77\x9d\x04\xf9\xee\x3b\xbf\x33\x23\xdb\xb1\x25\x3b\x71\x1a\x04\xbd\x60\x2c\x1e\xce\x99\x33\xef\x33\xe7\x9f\xe3\xe3\xe8\xf9\xaa\xf1\xd1\x99\x5f\xfa\xb5\xdb\xf8\x26\xaa\xde\x45\x67\xab\xff\xaf\xba\x65\xe3\x36\x6e\x3c\x10\x82\x7e\x75\xb9\xae\x7d\x7f\xc2\xef\xa6\x3a\x3e\xef\xce\x84\xb2\x5b\x2d\xfb\xe3\x38\x8e\x93\x79\xb7\xec\x36\x9d\x5b\xcc\xaf\xd7\xc7\xfd\xdb\xc5\x4e\xda\x74\xde\xf8\xab\xb9\x6b\xce\xbb\xfd\x34\xd9\xfc\xb2\xf7\xeb\x79\xbd\xf6\x48\x33\x77\x9b\xbd\x94\xf9\xbc\xf7\x7d\x2f\x6f\xf3\xe5\x6a\x59\xfb\xbd\x74\xc5\x7c\xed\xdb\xb5\xef\x7f\x9f\x6f\x56\x7f\xf8\xa5\xb1\xde\x4b\x3e\x51\x01\xfc\xb9\xeb\x16\xf3\xcb\x65\xf7\xf6\x72\x0f\xad\xeb\x7b\xbf\xe9\xc7\x67\x2b\x3e\xbd\xf8\x35\x7a\xfd\xeb\x9b\xe8\xe5\x8b\x57\x6f\x7e\x18\x0c\x2e\x5c\xfd\x87\x3b\xf3\xd1\x0d\xf5\x60\xd0\x9d\x5f\xac\xd6\x9b\x68\x38\x38\x38\xac\xde\x6d\x7c\x7f\x28\x3f\xea\xd5\xf9\x85\x48\xd6\x1f\x9f\xbd\xef\x2e\x58\x68\xcf\x37\xfc\xe9\x56\xfc\xdb\x6f\xd6\xdd\xf2\x2c\x10\xae\xc2\xbf\x9b\xee\xdc\xeb\xe7\xe3\x6e\x75\xb9\xe9\x16\xbc\x5c\xb8\xcd\xef\xc7\x6d\xb7\xf0\xfc\x38\x1c\x8c\x06\x83\xf6\x72\x59\x47\xe6\xc0\x7f\x7a\xd7\x0c\xf9\x11\xfd\xfb\x3f\x1c\x7b\x14\x2d\xdd\xb9\x8f\x94\xf5\x28\x1a\x6e\x57\xfd\x7a\xbd\x5a\x8f\xa2\x0f\x83\x83\xb3\xf7\xe1\x2d\x3a\x79\x16\x21\xd5\xf8\xb5\xff\x2f\x4c\xfc\x7a\x18\xc4\xe6\xfd\xe7\xcb\xb6\x95\x77\xd8\x8e\x46\x83\x83\xae\x0d\x1b\x7e\x78\x16\x2d\xbb\x05\x2c\x0e\xd6\x7e\x73\xb9\x5e\xf2\x7a\x14\x89\x4a\xe3\x97\x70\x6f\x87\x87\x30\x8a\x7e\x7c\x7b\x12\xfd\xf8\xe7\xa1\x4a\x12\xce\x12\x1e\x1f\x07\x83\x83\x3f\xdd\x3a\xaa\x2e\xdb\x48\xcf\xd1\x43\x06\x07\x73\x15\xe7\x59\xd4\xad\xc6\xcf\x57\x17\xef\x86\x3f\x09\xcd\x91\xc8\x26\xbb\xea\xc5\xcb\xad\xa4\xe3\xe7\x8b\x55\xef\x87\xa2\xfe\x5f\x24\x0f\x6c\x94\xff\x1e\x46\x42\xa8\x72\xdb\xa2\x88\x35\xfe\x19\xd1\x87\xa3\x23\x28\x06\xf2\x6d\xf3\xee\xc2\x47\x21\x50\x30\xf9\x65\xbd\x81\x4b\xd0\xcf\xfc\x21\xc7\x2c\xdb\x55\x14\xad\xfa\xf1\x3f\xc4\x87\xaf\xe4\xe5\x7a\x9f\xb9\x70\xbb\x7e\x8b\xc3\x2d\x1f\x0e\x0e\xfa\xee\xbd\x8f\xba\xe5\x66\x92\x0f\x0e\xce\xc9\x65\xe3\xf5\x8b\xfc\x0e\x2b\x6f\x24\x6c\x22\x62\x67\xcc\x2f\xd8\x87\x08\x19\xb6\xdd\xdd\x23\x46\xd1\x6b\xe1\x3c\x1c\x19\x6f\x8e\x32\xe5\xda\x6e\xcc\xa1\xb2\x79\xff\xde\xdf\x44\x10\xd9\x1b\x44\xf9\x74\x2b\x22\x3e\xb8\x15\x59\x65\xeb\x2d\xc9\x3f\x65\x80\x5e\x8f\x31\x40\x39\xe1\x71\xad\xe8\x3d\x0e\xa6\xfd\x7e\x26\xaf\xfa\x17\xdd\x5a\x58\x54\xab\xd5\xe2\xf6\x6e\xb7\xe8\x1f\xd1\xfc\x5d\xaf\x8a\xfb\x75\xeb\x6a\xff\xe1\xe3\xad\xdd\x16\x09\x04\xf7\xbc\xa9\x7e\xb9\xae\x08\xbb\x6b\xe7\x6f\x6f\x17\x12\xea\x1a\x1b\xc3\xc3\xd3\xab\xa4\x3d\xbd\x9a\x55\xa7\x57\xf1\x4c\x9e\xd8\x9e\xf2\xf4\x6a\xe2\x65\xdd\xd6\x5a\xa1\x29\x6b\x79\xb2\xd3\xab\x1a\x7a\x77\x7a\xd5\xc8\x9e\x4c\xbe\x25\xf2\xd4\x93\xd3\x2b\x2f\xeb\x53\xd9\x17\xcb\xb7\x32\x91\xef\x42\x3b\x93\xf5\x89\x3c\xa5\x7c\x73\x42\xe7\xa6\xf2\xde\x08\x9d\x7c\x9f\xc8\xe3\xe4\xa9\x72\xa1\x95\x6f\xd3\x42\xdf\x33\xa1\xc9\x58\x97\xf7\x14\xbe\x22\x47\x81\x0c\xb2\x2f\x17\x9e\x89\xf0\x9f\x08\xbf\x66\xaa\x7f\x0b\x7e\xcb\xb9\xb9\xd0\x25\xc2\xab\x96\xf5\xda\xab\x4c\xec\x9f\x09\xaf\x99\xac\x17\xa2\x4b\x23\xef\xad\xe8\xe1\x91\xa9\xd2\xfd\xc8\x97\x78\xb5\x43\x2d\x67\xc6\x53\x3d\x07\x79\xd0\x3d\x67\x8f\xe9\x03\x7d\xe6\xd5\x1e\xa9\xf0\x2b\x39\x47\xe4\xc9\x53\xf9\x2d\x67\xe4\xad\xea\x5a\xc1\x0f\xd9\x65\xbd\x2d\xd5\xbe\xad\xd0\xb7\xb2\x56\x35\x26\x27\xfa\x0a\xad\x97\xf3\x4a\x79\x5a\xa1\xcd\x65\x6d\x52\xab\x1d\x3c\xb6\x90\xef\xb9\xf0\xcf\x90\x51\xde\x6b\x91\xa1\x90\xdf\x59\xad\x74\xb5\xf0\x69\x63\xd5\xbf\x94\xfd\x8d\x53\xfb\xa3\x3b\x76\x44\x06\x74\x76\x85\xca\xee\x32\xb5\x2b\x7b\xb0\x4b\x5c\x9b\x6d\xcc\x2e\xc8\x34\xdd\xfa\xab\x55\x39\x62\x74\x4f\xf5\xec\x5a\x64\xaf\x4b\x5d\x9f\x1a\x7d\x1e\xab\xcd\xea\xd4\xe4\x91\xef\xbe\xd1\x78\xc1\x76\x55\xac\x3a\xc6\x95\xc6\x8d\x4b\xd5\x77\xf8\x1c\xdd\x58\x8f\x27\x1a\x1b\x75\xa2\x71\x82\x5c\xe8\x94\xc8\xdf\x0a\x9f\x67\xea\x9f\x10\x1b\xec\x95\x73\x0b\xec\xe6\x94\x4f\x25\x3c\x53\x39\xbb\x44\x7e\xe2\xb6\xb4\xf8\xac\xf4\x0c\xe2\x18\xff\xc7\xf2\xdd\xe7\xea\xab\x8a\x18\x2c\x54\xff\x36\xd3\xf7\x3c\x51\x59\xa0\x43\x86\x18\x9f\xf3\x6d\xaa\xfc\x83\xfd\xcd\x9f\x89\xd0\x54\xf2\x37\x8d\x35\x36\xaa\x56\xe9\x91\x6d\x2a\xf4\x5e\xce\xf3\xb1\xda\x1f\x7b\xd6\xb5\xae\x91\x23\x59\xa3\x3e\x21\x97\x88\x07\x64\xe2\x6c\x6c\x38\xab\x4d\x1e\x59\x9f\xa5\x9a\x87\xf8\x0b\xf9\xa1\x87\x3f\xb6\x45\x86\x60\xfb\x56\xf3\xa5\x15\xba\x69\xa6\x7c\xf2\x52\x6d\x12\x9b\xbd\xf0\x03\x32\x15\xf2\x3d\x4d\xd5\x76\xc8\x05\x3d\x67\xe4\xc2\x2f\xa9\x94\x2f\x71\x47\xac\x92\x23\x29\x75\x20\xd6\xef\xd8\xd1\x95\x9a\x53\xe8\x5d\xd4\x9a\x3b\xf8\x3c\x99\x69\x5c\xe0\xb3\x29\xdf\x9c\xea\x3b\x29\x55\x3e\x47\x3c\xca\x5a\xb1\xf5\x7d\xa6\xbc\x88\xd9\x5a\xf8\xa7\x53\xb5\x39\xf1\x49\xed\x21\x1f\x1d\x71\x49\xad\x68\x34\x3f\xa0\xc1\x16\xf8\x87\xb8\x28\xbc\xca\x90\x37\x1a\xe7\xd4\x88\xb4\x50\x79\x89\xcb\xa0\x7f\xa9\xe7\x62\x03\xe2\x92\xbc\xa1\xde\x10\x4f\xd0\x87\x73\x26\xea\x13\x64\x09\x75\x50\xd6\x7c\xad\xb1\x33\x8d\x95\x3f\xf5\x0c\x9d\x9b\x46\x65\xe2\x37\x36\xcf\xa7\x6a\x37\xcf\xb9\xc2\x77\x22\x67\xb5\x4e\x6b\x50\x41\xac\x41\x97\x6a\x8c\xe1\x3b\x7c\x0e\x0f\xd6\x52\xf8\x96\x9a\x0f\xd4\x43\xfc\x4d\xde\xce\xac\x9e\xc2\x1f\x1f\x38\xe8\x26\xaa\x77\x55\xab\x1d\xb0\x31\xf1\xca\x19\xf8\x90\xba\x8c\xbe\xc4\x49\x8b\x7d\x6b\xad\x93\xd4\x30\x9f\x69\xfc\x4f\xa9\x59\xad\xea\x54\x10\xff\xf8\x4a\xd6\xab\x99\xfa\x97\xba\x10\x7a\xc1\x54\x6b\x79\xe5\xd4\xe7\xc4\x15\x71\xb4\xed\x0d\xd4\x3e\x1e\xe7\xb5\xce\x91\x43\xd4\x72\xea\x51\x5c\x6c\xe9\x0e\xb7\x53\xe2\x67\x35\x24\x1b\x6a\x76\x0d\x8b\xdb\xd1\xe7\xd6\xb0\x29\x53\xd2\xe7\xf5\xb9\x23\xa1\x3c\xfc\xdc\xfb\xc4\xa1\x50\x8f\xae\x47\x97\xcf\xe2\x8f\xc4\xff\x17\x66\xaf\xdb\x12\x87\xe1\xeb\x7a\xc2\xfd\x12\xfd\x1f\x1b\x2c\xaf\xe7\xc1\x30\xd1\x09\xf3\x3b\x63\xc2\x07\x06\xa8\x93\xe8\x0b\x54\x8e\x98\x9b\x4e\xa2\x24\x9b\xcd\x8e\x22\x46\xa0\x93\xdb\x13\xd2\x30\x4f\xe3\x51\x58\x67\xb0\x39\xd1\xc1\xe7\x5f\xcb\xee\x6a\x98\x1c\x45\xf1\x48\x26\x58\x87\x14\x3f\x05\x13\x7c\x08\x7a\x9f\x44\xa6\x3e\x22\x9e\x44\xe1\xcf\xc7\x6b\x2f\xba\xa3\x87\x86\x95\x5b\x97\xb7\xa7\x0e\x29\x34\xaa\xd0\x1c\x0a\x6d\x0c\x61\x10\x68\x34\xc0\x53\x6b\xa6\x69\xad\x05\x12\x1a\xf8\x91\x88\x14\xea\x29\x09\x94\x2b\x5f\x12\x32\x6e\xb4\x60\x41\xc3\xfb\x34\xd7\x26\x3d\xb5\xc4\xcb\x67\xc6\xbf\x54\xfe\x9c\x93\x56\xda\x7c\x48\x76\xd6\x68\x9e\x14\x16\x12\x9d\xe2\x44\x83\xa2\x41\xcf\x64\x5f\x6a\x4f\x68\xd8\x5e\x13\x8d\xe1\x22\x0c\x45\x5e\x1b\x59\x6c\x49\x48\x21\xa6\x60\xd2\x74\x18\x46\x38\x83\x35\x92\x18\xde\x14\xb0\xdc\x9a\x3f\xba\xb5\xf6\x64\xb6\x6f\x66\x34\x14\x7d\x8a\x66\x51\xdf\x34\x77\x64\x08\xf2\x24\x9a\xd4\xdb\x33\x27\x33\x2d\x22\xc8\xcc\xc0\x42\xa3\x28\x6c\x08\xa3\x78\x86\xc1\x0d\xfb\x39\x2d\xd6\xe8\x47\xc1\x82\x96\x66\x4e\x13\xa0\x38\x71\x46\x9c\xde\x2f\x20\xc8\x54\x59\xe3\x0d\x85\xde\xdf\xf2\xed\xde\x02\xf2\x69\x90\x7c\x75\xe1\xf8\x94\xdd\xee\x82\x71\x07\x54\x78\xb0\x50\x7c\xca\xef\x09\x05\x62\xa7\x7e\xdf\xac\x30\xdc\x53\x6d\x5b\x10\xd2\xc9\xf7\xaf\x07\xf7\x80\x9a\xbf\x4b\x55\x80\x57\x6a\xa3\x32\xef\x21\x5b\x5b\x5d\xe3\x9a\x92\x1a\x0f\x5a\x31\xfb\xc3\xde\x44\xdf\xb9\x22\xd0\xc2\x39\xaf\x2d\xf4\x29\x2c\xe3\x82\x9c\xde\x32\xbd\xd0\xcc\xcb\x6d\xdc\xe5\xea\xc1\xb9\xf0\x81\x77\xa8\x4e\xce\x2a\x93\x8d\x9f\xa9\x8d\x0d\xde\xae\x26\x64\x3a\xfa\x04\x39\xec\x3a\xc0\xf8\xd8\xc8\x93\xa4\x3a\x06\x51\x01\xc8\x7c\xe7\xac\x7a\x4c\x74\x4c\x67\x6c\x2b\x6d\x7c\x4f\xe2\xfb\xd9\x9d\x5a\x75\xf4\x76\x95\xe1\xfa\xf1\x78\x76\xef\x72\xf9\x57\xe7\xf8\x2e\xa6\xbb\x33\x7d\x27\x34\xf8\x60\xbe\xef\xe2\xfd\x84\xac\x7f\x40\xef\x6f\x96\xfb\x7b\x94\xdd\x56\x80\x24\xf9\xfe\x15\xe0\x0e\x00\xfb\x77\xc8\x7f\xe2\x7e\x9b\xe3\xe4\x6a\x38\xcb\x72\x90\x3c\xfe\xd2\x9c\x27\x87\xeb\xca\x26\x8a\x4a\x79\x73\x0e\x32\x84\xb3\x4a\xbd\x22\xf0\x7b\x9b\xdb\xa1\xdb\xe6\xf7\x73\x92\x2b\x20\x30\x02\xd7\x25\xec\xc6\x75\xe8\xf1\x9c\xbc\xef\x84\xaf\xce\xc8\xfb\x2c\x77\xe7\xe3\x0e\x00\xfe\xc1\x6c\xbc\xcf\xf7\x09\xb9\xb8\x57\xdf\x6f\x96\x89\x3b\xd5\xb4\x3c\x9c\xc4\xdf\x3f\x0d\x77\xff\xff\xc6\x53\xb3\x91\xcb\x70\x19\x6b\xf4\xd3\xb5\x00\x3d\xae\x81\x44\x2e\xaf\xad\x66\x03\xf3\x2d\xe0\x1f\x19\xc7\xfe\x49\xaa\xb4\x74\x31\xe6\x64\xe6\x52\x80\xa6\xd8\xc0\x10\x66\xc8\x30\x77\xda\x1c\x4e\x56\x32\xa3\x16\x06\x70\x01\xdc\x00\xe0\x00\x1e\x30\x97\x92\x35\x01\xa0\xf2\x7a\xf9\xe6\x22\x0b\x30\x80\xfc\x80\x1a\xcc\xbf\x41\x16\xa7\x17\xfe\xb6\xd2\xf7\xd4\x32\x89\x8b\x35\x97\x74\x66\xe9\xca\x2e\xf3\x01\xc4\x34\x20\x85\x0b\x3b\x80\x08\x99\x98\x1a\x58\x00\xf8\x12\xba\x65\xae\xf4\x45\x72\x03\xc0\x01\x20\x55\x13\x05\xf1\xb8\xf0\x57\x06\x62\x61\x3f\x2a\x06\x76\x40\xfe\x60\x47\x00\x8a\x4c\xa7\x00\x40\x81\x72\xa6\x17\xf8\x70\x47\x68\x14\x74\x2b\xac\x02\x00\x0e\x00\x78\x01\x98\x20\x77\x65\x53\x02\x3a\x01\x58\x38\x03\xe6\xc2\x7a\xae\x32\xc4\x36\xc3\x23\x13\xfa\xcd\x5a\x05\x23\x5d\x6d\xf2\x64\x0a\x6a\x71\xbf\x28\xad\xf2\x61\x3f\xe4\x0c\x3e\xf1\x5a\x51\x01\x86\x00\x3c\x02\xa8\x36\x55\x40\x08\x50\x18\x7e\x4c\x18\x85\x81\x10\x01\x74\xe2\x7e\xd4\x98\xde\x85\x82\x10\xf8\x32\x80\x9f\x99\xda\x89\x69\xa3\xd8\xfa\x27\xd5\x73\xd0\x8f\xbf\xac\x05\xd0\x69\xaa\xf4\x00\x32\x54\xc2\x00\x52\x55\x06\xf0\xe6\x37\xd3\x11\xfb\xa9\xbc\x39\xba\x1a\x4f\xbf\xd5\xab\xd6\xbf\xad\xdd\x8b\x88\xe3\x00\x62\xce\x94\x37\xe0\x28\xf7\x1d\xec\x95\x6e\xbb\x4c\xa5\x13\x95\x2f\x0d\xb8\x33\x70\x9b\x73\xb9\xdb\x14\x06\xfe\x12\x33\x00\x54\xfc\x6d\x0c\x30\x66\x92\xc3\x7e\x74\x1a\x67\xc0\x1d\x71\x47\xf7\xc1\xb7\x85\xdd\x21\x2b\x03\xc2\x89\x2b\x40\x24\xee\x5a\xc4\x13\xf6\x4b\x0c\xa8\x42\x26\x80\x41\xfc\x00\xd0\x87\x6c\xac\x05\x60\x32\x56\x90\x08\xf0\x1b\x5f\x91\x77\xc1\xe6\x80\x60\x4e\xe5\x63\xd2\x0b\x00\xa9\x01\x72\x00\x47\x99\x01\x57\xa1\xb3\xe5\x37\xf1\x12\xf2\xb2\x50\x7d\xf1\x43\x63\x39\xc3\x74\x09\x40\x4c\x0e\x71\xc7\x63\xa2\x0c\x80\x9a\x81\xa2\x74\x3f\x40\x73\x80\xc6\x30\x69\x7a\xeb\xae\xa5\xdd\x2f\x33\xfd\x16\x62\xa1\xb5\x3b\xe4\x9d\x6e\xc6\x13\x00\xb6\xe6\x06\x78\xbe\xa1\xdb\xd7\xcd\xf6\xd6\xb2\xaf\x6e\x6a\x7b\x39\xef\xee\x6d\xfb\xff\xd3\xf8\xc1\x16\xb7\xf7\x94\x27\x74\xba\xc7\x6c\xf1\x97\x34\xbc\xff\x05\x00\x00\xff\xff\x4f\xed\x5c\x50\x00\x20\x00\x00") func dbMigrationsAssetsGoBytes() ([]byte, error) { return bindataRead( diff --git a/functional/repo/testutil.go b/functional/repo/testutil.go index 8b2d0b79..fef24536 100644 --- a/functional/repo/testutil.go +++ b/functional/repo/testutil.go @@ -22,6 +22,8 @@ func initDB(dsn string) *gorp.DbMap { panic(fmt.Sprintf("Unable to drop migration table: %v", err)) } - db.MigrateToLatest(c) + if _, err = db.MigrateToLatest(c); err != nil { + panic(fmt.Sprintf("Unable to migrate: %v", err)) + } return c }