diff --git a/test_db/bda.json b/test_db/bda.json index a1834a1e..45174659 100644 --- a/test_db/bda.json +++ b/test_db/bda.json @@ -1,26 +1,15 @@ [ { "fields": { - "active": false, + "active": true, "token": "", - "ouverture": "2016-06-15T17:48:33Z", - "fermeture": "2016-06-15T17:48:33Z", - "title": "Tirage de test (migration)" + "ouverture": "2016-06-14T10:00:00Z", + "fermeture": "2016-12-31T22:59:00Z", + "title": "Tirage de test 1" }, "model": "bda.tirage", "pk": 1 }, -{ - "fields": { - "active": true, - "token": "", - "ouverture": "2016-06-14T10:00:00Z", - "fermeture": "2016-12-31T22:59:00Z", - "title": "Tirage de test 1" - }, - "model": "bda.tirage", - "pk": 2 -}, { "fields": { "active": true, @@ -30,7 +19,7 @@ "title": "Tirage de test 2" }, "model": "bda.tirage", - "pk": 3 + "pk": 2 }, { "fields": { @@ -90,7 +79,7 @@ "date": "2016-06-30T18:00:00Z", "slots_description": "Debout", "slots": 5, - "tirage": 2 + "tirage": 1 }, "model": "bda.spectacle", "pk": 1 @@ -105,7 +94,7 @@ "date": "2016-06-29T14:00:00Z", "slots_description": "Assises", "slots": 60, - "tirage": 2 + "tirage": 1 }, "model": "bda.spectacle", "pk": 2 @@ -120,7 +109,7 @@ "date": "2016-06-21T15:00:00Z", "slots_description": "Debout, attention \u00e0 la fontaine", "slots": 30, - "tirage": 2 + "tirage": 1 }, "model": "bda.spectacle", "pk": 3 @@ -135,7 +124,7 @@ "date": "2016-07-06T19:00:00Z", "slots_description": "Assis sur l'herbe", "slots": 20, - "tirage": 2 + "tirage": 1 }, "model": "bda.spectacle", "pk": 4 @@ -150,7 +139,7 @@ "date": "2016-08-30T12:00:00Z", "slots_description": "Assises", "slots": 15, - "tirage": 2 + "tirage": 1 }, "model": "bda.spectacle", "pk": 5 @@ -165,7 +154,7 @@ "date": "2016-09-15T07:00:00Z", "slots_description": "Assises, tablette pour prendre des notes", "slots": 30, - "tirage": 3 + "tirage": 2 }, "model": "bda.spectacle", "pk": 6 @@ -180,7 +169,7 @@ "date": "2016-09-26T07:00:00Z", "slots_description": "Assises", "slots": 20, - "tirage": 3 + "tirage": 2 }, "model": "bda.spectacle", "pk": 7 @@ -195,7 +184,7 @@ "date": "2016-09-14T23:00:00Z", "slots_description": "", "slots": 1000, - "tirage": 3 + "tirage": 2 }, "model": "bda.spectacle", "pk": 8 @@ -210,7 +199,7 @@ "date": "2016-10-10T20:00:00Z", "slots_description": "Debout les mains en l'air", "slots": 20, - "tirage": 3 + "tirage": 2 }, "model": "bda.spectacle", "pk": 9 @@ -225,7 +214,7 @@ "date": "2016-10-02T14:00:00Z", "slots_description": "Chaises ikea", "slots": 10, - "tirage": 2 + "tirage": 1 }, "model": "bda.spectacle", "pk": 10 @@ -240,7 +229,7 @@ "date": "2016-10-13T14:00:00Z", "slots_description": "B\u00fbches", "slots": 14, - "tirage": 3 + "tirage": 2 }, "model": "bda.spectacle", "pk": 11 @@ -255,7 +244,7 @@ "date": "2016-08-17T09:00:00Z", "slots_description": "Humides", "slots": 10, - "tirage": 2 + "tirage": 1 }, "model": "bda.spectacle", "pk": 12 @@ -270,7 +259,7 @@ "date": "2016-11-26T07:00:00Z", "slots_description": "Ne venez pas", "slots": 20, - "tirage": 3 + "tirage": 2 }, "model": "bda.spectacle", "pk": 13 @@ -285,7 +274,7 @@ "date": "2016-09-17T04:00:00Z", "slots_description": "bancs", "slots": 15, - "tirage": 3 + "tirage": 2 }, "model": "bda.spectacle", "pk": 14 @@ -293,7 +282,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 1, "paid": false }, @@ -303,7 +292,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 1, "paid": false }, @@ -313,7 +302,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 2, "paid": false }, @@ -323,7 +312,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 2, "paid": false }, @@ -333,7 +322,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 3, "paid": false }, @@ -343,7 +332,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 3, "paid": false }, @@ -353,7 +342,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 4, "paid": false }, @@ -363,7 +352,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 4, "paid": false }, @@ -373,7 +362,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 5, "paid": false }, @@ -383,7 +372,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 5, "paid": false }, @@ -393,7 +382,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 6, "paid": false }, @@ -403,7 +392,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 6, "paid": false }, @@ -413,7 +402,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 7, "paid": false }, @@ -423,7 +412,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 7, "paid": false }, @@ -433,7 +422,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 8, "paid": false }, @@ -443,7 +432,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 8, "paid": false }, @@ -453,7 +442,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 9, "paid": false }, @@ -463,7 +452,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 9, "paid": false }, @@ -473,7 +462,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 10, "paid": false }, @@ -483,7 +472,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 10, "paid": false }, @@ -493,7 +482,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 11, "paid": false }, @@ -503,7 +492,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 11, "paid": false }, @@ -513,7 +502,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 12, "paid": false }, @@ -523,7 +512,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 12, "paid": false }, @@ -533,7 +522,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 13, "paid": false }, @@ -543,7 +532,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 13, "paid": false }, @@ -553,7 +542,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 14, "paid": false }, @@ -563,7 +552,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 14, "paid": false }, @@ -573,7 +562,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 15, "paid": false }, @@ -583,7 +572,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 15, "paid": false }, @@ -593,7 +582,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 16, "paid": false }, @@ -603,7 +592,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 16, "paid": false }, @@ -613,7 +602,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 17, "paid": false }, @@ -623,7 +612,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 17, "paid": false }, @@ -633,7 +622,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 18, "paid": false }, @@ -643,7 +632,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 18, "paid": false }, @@ -653,7 +642,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 19, "paid": false }, @@ -663,7 +652,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 19, "paid": false }, @@ -673,7 +662,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 20, "paid": false }, @@ -683,7 +672,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 20, "paid": false }, @@ -693,7 +682,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 21, "paid": false }, @@ -703,7 +692,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 21, "paid": false }, @@ -713,7 +702,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 22, "paid": false }, @@ -723,7 +712,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 22, "paid": false }, @@ -733,7 +722,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 23, "paid": false }, @@ -743,7 +732,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 23, "paid": false }, @@ -753,7 +742,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 24, "paid": false }, @@ -763,7 +752,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 24, "paid": false }, @@ -773,7 +762,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 25, "paid": false }, @@ -783,7 +772,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 25, "paid": false }, @@ -793,7 +782,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 26, "paid": false }, @@ -803,7 +792,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 26, "paid": false }, @@ -813,7 +802,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 27, "paid": false }, @@ -823,7 +812,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 27, "paid": false }, @@ -833,7 +822,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 28, "paid": false }, @@ -843,7 +832,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 28, "paid": false }, @@ -853,7 +842,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 29, "paid": false }, @@ -863,7 +852,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 29, "paid": false }, @@ -873,7 +862,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 30, "paid": false }, @@ -883,7 +872,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 30, "paid": false }, @@ -893,7 +882,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 31, "paid": false }, @@ -903,7 +892,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 31, "paid": false }, @@ -913,7 +902,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 32, "paid": false }, @@ -923,7 +912,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 32, "paid": false }, @@ -933,7 +922,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 33, "paid": false }, @@ -943,7 +932,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 33, "paid": false }, @@ -953,7 +942,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 34, "paid": false }, @@ -963,7 +952,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 34, "paid": false }, @@ -973,7 +962,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 35, "paid": false }, @@ -983,7 +972,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 35, "paid": false }, @@ -993,7 +982,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 36, "paid": false }, @@ -1003,7 +992,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 36, "paid": false }, @@ -1013,7 +1002,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 37, "paid": false }, @@ -1023,7 +1012,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 37, "paid": false }, @@ -1033,7 +1022,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 38, "paid": false }, @@ -1043,7 +1032,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 38, "paid": false }, @@ -1053,7 +1042,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 39, "paid": false }, @@ -1063,7 +1052,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 39, "paid": false }, @@ -1073,7 +1062,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 40, "paid": false }, @@ -1083,7 +1072,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 40, "paid": false }, @@ -1093,7 +1082,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 41, "paid": false }, @@ -1103,7 +1092,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 41, "paid": false }, @@ -1113,7 +1102,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 42, "paid": false }, @@ -1123,7 +1112,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 42, "paid": false }, @@ -1133,7 +1122,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 43, "paid": false }, @@ -1143,7 +1132,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 43, "paid": false }, @@ -1153,7 +1142,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 44, "paid": false }, @@ -1163,7 +1152,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 44, "paid": false }, @@ -1173,7 +1162,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 45, "paid": false }, @@ -1183,7 +1172,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 45, "paid": false }, @@ -1193,7 +1182,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 46, "paid": false }, @@ -1203,7 +1192,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 46, "paid": false }, @@ -1213,7 +1202,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 47, "paid": false }, @@ -1223,7 +1212,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 47, "paid": false }, @@ -1233,7 +1222,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 48, "paid": false }, @@ -1243,7 +1232,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 48, "paid": false }, @@ -1253,7 +1242,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 49, "paid": false }, @@ -1263,7 +1252,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 49, "paid": false }, @@ -1273,7 +1262,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 50, "paid": false }, @@ -1283,7 +1272,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 50, "paid": false }, @@ -1293,7 +1282,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 51, "paid": false }, @@ -1303,7 +1292,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 51, "paid": false }, @@ -1313,7 +1302,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 52, "paid": false }, @@ -1323,7 +1312,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 52, "paid": false }, @@ -1333,7 +1322,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 53, "paid": false }, @@ -1343,7 +1332,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 53, "paid": false }, @@ -1353,7 +1342,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 54, "paid": false }, @@ -1363,7 +1352,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 54, "paid": false }, @@ -1373,7 +1362,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 55, "paid": false }, @@ -1383,7 +1372,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 55, "paid": false }, @@ -1393,7 +1382,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 56, "paid": false }, @@ -1403,7 +1392,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 56, "paid": false }, @@ -1413,7 +1402,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 57, "paid": false }, @@ -1423,7 +1412,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 57, "paid": false }, @@ -1433,7 +1422,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 58, "paid": false }, @@ -1443,7 +1432,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 58, "paid": false }, @@ -1453,7 +1442,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 59, "paid": false }, @@ -1463,7 +1452,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 59, "paid": false }, @@ -1473,7 +1462,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 60, "paid": false }, @@ -1483,7 +1472,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 60, "paid": false }, @@ -1493,7 +1482,7 @@ { "fields": { "paymenttype": "", - "tirage": 2, + "tirage": 1, "user": 61, "paid": false }, @@ -1503,7 +1492,7 @@ { "fields": { "paymenttype": "", - "tirage": 3, + "tirage": 2, "user": 61, "paid": false },