exports.seed = async function(knex) { // Deletes ALL existing entries return await knex('move').del() .then(async function () { // Inserts seed entries await knex('game') .whereIn('player_white', ['user-two', 'Rin Kaiho']) .orderBy('player_white', 'desc') .then(async ([gameOne, gameTwo]) => await knex('move') .returning('*') .insert([ { player: 'black', point_x: 3, point_y: 3, number: 1, game_record: true, game: gameOne.id, prior_move: null }, { player: 'white', point_x: 15, point_y: 15, number: 2, game_record: true, game: gameOne.id, prior_move: 1 }, { player: 'black', point_x: 4, point_y: 15, number: 3, game_record: true, game: gameOne.id, prior_move: 2 }, { player: 'white', point_x: 15, point_y: 4, number: 4, game_record: true, game: gameOne.id, prior_move: 3 }, { player: 'black', point_x: 4, point_y: 16, number: 1, game_record: true, game: gameTwo.id, prior_move: 1 }, { player: 'white', point_x: 3, point_y: 4, number: 2, game_record: true, game: gameTwo.id, prior_move: 2 }, { player: 'black', point_x: 16, point_y: 4, number: 3, game_record: true, game: gameTwo.id, prior_move: 3 }, { player: 'white', point_x: 17, point_y: 16, number: 4, game_record: true, game: gameTwo.id, prior_move: 4 }, { player: 'black', point_x: 15, point_y: 17, number: 5, game_record: true, game: gameTwo.id, prior_move: 5 }, { player: 'white', point_x: 5, point_y: 3, number: 6, game_record: true, game: gameTwo.id, prior_move: 6 }, { player: 'black', point_x: 17, point_y: 14, number: 7, game_record: true, game: gameTwo.id, prior_move: 7 }, { player: 'white', point_x: 16, point_y: 15, number: 8, game_record: true, game: gameTwo.id, prior_move: 8 }, { player: 'black', point_x: 16, point_y: 14, number: 9, game_record: true, game: gameTwo.id, prior_move: 9 }, { player: 'white', point_x: 14, point_y: 15, number: 10, game_record: true, game: gameTwo.id, prior_move: 10 }, { player: 'black', point_x: 15, point_y: 14, number: 11, game_record: true, game: gameTwo.id, prior_move: 11 }, { player: 'white', point_x: 14, point_y: 17, number: 12, game_record: true, game: gameTwo.id, prior_move: 12 }, { player: 'black', point_x: 14, point_y: 18, number: 13, game_record: true, game: gameTwo.id, prior_move: 13 }, { player: 'white', point_x: 13, point_y: 17, number: 14, game_record: true, game: gameTwo.id, prior_move: 14 }, { player: 'black', point_x: 16, point_y: 17, number: 15, game_record: true, game: gameTwo.id, prior_move: 15 }, { player: 'white', point_x: 15, point_y: 15, number: 16, game_record: true, game: gameTwo.id, prior_move: 16 }, { player: 'black', point_x: 13, point_y: 18, number: 17, game_record: true, game: gameTwo.id, prior_move: 17 }, { player: 'white', point_x: 11, point_y: 17, number: 18, game_record: true, game: gameTwo.id, prior_move: 18 }, { player: 'black', point_x: 17, point_y: 17, number: 19, game_record: true, game: gameTwo.id, prior_move: 19 }, { player: 'white', point_x: 18, point_y: 16, number: 20, game_record: true, game: gameTwo.id, prior_move: 20 }, { player: 'black', point_x: 12, point_y: 17, number: 21, game_record: true, game: gameTwo.id, prior_move: 21 }, { player: 'white', point_x: 12, point_y: 16, number: 22, game_record: true, game: gameTwo.id, prior_move: 22 }, { player: 'black', point_x: 12, point_y: 18, number: 23, game_record: true, game: gameTwo.id, prior_move: 23 }, { player: 'white', point_x: 16, point_y: 10, number: 24, game_record: true, game: gameTwo.id, prior_move: 24 }, { player: 'black', point_x: 17, point_y: 7, number: 25, game_record: true, game: gameTwo.id, prior_move: 25 }, { player: 'white', point_x: 13, point_y: 13, number: 26, game_record: true, game: gameTwo.id, prior_move: 26 }, { player: 'black', point_x: 15, point_y: 11, number: 27, game_record: true, game: gameTwo.id, prior_move: 27 }, { player: 'white', point_x: 11, point_y: 16, number: 28, game_record: true, game: gameTwo.id, prior_move: 28 }, { player: 'black', point_x: 15, point_y: 10, number: 29, game_record: true, game: gameTwo.id, prior_move: 29 }, { player: 'white', point_x: 16, point_y: 8, number: 30, game_record: true, game: gameTwo.id, prior_move: 30 }, { player: 'black', point_x: 17, point_y: 8, number: 31, game_record: true, game: gameTwo.id, prior_move: 31 }, { player: 'white', point_x: 15, point_y: 9, number: 32, game_record: true, game: gameTwo.id, prior_move: 32 }, { player: 'black', point_x: 17, point_y: 9, number: 33, game_record: true, game: gameTwo.id, prior_move: 33 }, { player: 'white', point_x: 16, point_y: 9, number: 34, game_record: true, game: gameTwo.id, prior_move: 34 }, { player: 'black', point_x: 13, point_y: 10, number: 35, game_record: true, game: gameTwo.id, prior_move: 35 }, { player: 'white', point_x: 16, point_y: 7, number: 36, game_record: true, game: gameTwo.id, prior_move: 36 }, { player: 'black', point_x: 16, point_y: 6, number: 37, game_record: true, game: gameTwo.id, prior_move: 37 }, { player: 'white', point_x: 15, point_y: 6, number: 38, game_record: true, game: gameTwo.id, prior_move: 38 }, { player: 'black', point_x: 16, point_y: 5, number: 39, game_record: true, game: gameTwo.id, prior_move: 39 }, { player: 'white', point_x: 13, point_y: 7, number: 40, game_record: true, game: gameTwo.id, prior_move: 40 }, { player: 'black', point_x: 11, point_y: 10, number: 41, game_record: true, game: gameTwo.id, prior_move: 41 }, { player: 'white', point_x: 13, point_y: 4, number: 42, game_record: true, game: gameTwo.id, prior_move: 42 }, { player: 'black', point_x: 3, point_y: 9, number: 43, game_record: true, game: gameTwo.id, prior_move: 43 }, { player: 'white', point_x: 10, point_y: 8, number: 44, game_record: true, game: gameTwo.id, prior_move: 44 }, { player: 'black', point_x: 9, point_y: 10, number: 45, game_record: true, game: gameTwo.id, prior_move: 45 }, { player: 'white', point_x: 7, point_y: 16, number: 46, game_record: true, game: gameTwo.id, prior_move: 46 }, { player: 'black', point_x: 4, point_y: 14, number: 47, game_record: true, game: gameTwo.id, prior_move: 47 }, { player: 'white', point_x: 8, point_y: 9, number: 48, game_record: true, game: gameTwo.id, prior_move: 48 }, { player: 'black', point_x: 8, point_y: 14, number: 49, game_record: true, game: gameTwo.id, prior_move: 49 }, { player: 'white', point_x: 8, point_y: 10, number: 50, game_record: true, game: gameTwo.id, prior_move: 50 }, { player: 'black', point_x: 9, point_y: 11, number: 51, game_record: true, game: gameTwo.id, prior_move: 51 }, { player: 'white', point_x: 8, point_y: 11, number: 52, game_record: true, game: gameTwo.id, prior_move: 52 }, { player: 'black', point_x: 10, point_y: 14, number: 53, game_record: true, game: gameTwo.id, prior_move: 53 }, { player: 'white', point_x: 9, point_y: 15, number: 54, game_record: true, game: gameTwo.id, prior_move: 54 }, { player: 'black', point_x: 12, point_y: 14, number: 55, game_record: true, game: gameTwo.id, prior_move: 55 }, { player: 'white', point_x: 11, point_y: 13, number: 56, game_record: true, game: gameTwo.id, prior_move: 56 }, { player: 'black', point_x: 12, point_y: 13, number: 57, game_record: true, game: gameTwo.id, prior_move: 57 }, { player: 'white', point_x: 12, point_y: 12, number: 58, game_record: true, game: gameTwo.id, prior_move: 58 }, { player: 'black', point_x: 13, point_y: 14, number: 59, game_record: true, game: gameTwo.id, prior_move: 59 }, { player: 'white', point_x: 14, point_y: 14, number: 60, game_record: true, game: gameTwo.id, prior_move: 60 }, { player: 'black', point_x: 11, point_y: 14, number: 61, game_record: true, game: gameTwo.id, prior_move: 61 }, { player: 'white', point_x: 14, point_y: 13, number: 62, game_record: true, game: gameTwo.id, prior_move: 62 }, { player: 'black', point_x: 14, point_y: 9, number: 63, game_record: true, game: gameTwo.id, prior_move: 63 }, { player: 'white', point_x: 12, point_y: 9, number: 64, game_record: true, game: gameTwo.id, prior_move: 64 }, { player: 'black', point_x: 12, point_y: 10, number: 65, game_record: true, game: gameTwo.id, prior_move: 65 }, { player: 'white', point_x: 16, point_y: 12, number: 66, game_record: true, game: gameTwo.id, prior_move: 66 }, { player: 'black', point_x: 16, point_y: 11, number: 67, game_record: true, game: gameTwo.id, prior_move: 67 }, { player: 'white', point_x: 17, point_y: 12, number: 68, game_record: true, game: gameTwo.id, prior_move: 68 }, { player: 'black', point_x: 18, point_y: 11, number: 69, game_record: true, game: gameTwo.id, prior_move: 69 }, { player: 'white', point_x: 18, point_y: 12, number: 70, game_record: true, game: gameTwo.id, prior_move: 70 }, { player: 'black', point_x: 15, point_y: 12, number: 71, game_record: true, game: gameTwo.id, prior_move: 71 }, { player: 'white', point_x: 15, point_y: 13, number: 72, game_record: true, game: gameTwo.id, prior_move: 72 }, { player: 'black', point_x: 17, point_y: 11, number: 73, game_record: true, game: gameTwo.id, prior_move: 73 }, { player: 'white', point_x: 15, point_y: 3, number: 74, game_record: true, game: gameTwo.id, prior_move: 74 }, { player: 'black', point_x: 16, point_y: 3, number: 75, game_record: true, game: gameTwo.id, prior_move: 75 }, { player: 'white', point_x: 16, point_y: 2, number: 76, game_record: true, game: gameTwo.id, prior_move: 76 }, { player: 'black', point_x: 17, point_y: 2, number: 77, game_record: true, game: gameTwo.id, prior_move: 77 }, { player: 'white', point_x: 3, point_y: 7, number: 78, game_record: true, game: gameTwo.id, prior_move: 78 }, { player: 'black', point_x: 5, point_y: 9, number: 79, game_record: true, game: gameTwo.id, prior_move: 79 }, { player: 'white', point_x: 8, point_y: 4, number: 80, game_record: true, game: gameTwo.id, prior_move: 80 }, { player: 'black', point_x: 5, point_y: 11, number: 81, game_record: true, game: gameTwo.id, prior_move: 81 }, { player: 'white', point_x: 4, point_y: 17, number: 82, game_record: true, game: gameTwo.id, prior_move: 82 }, { player: 'black', point_x: 3, point_y: 17, number: 83, game_record: true, game: gameTwo.id, prior_move: 83 }, { player: 'white', point_x: 5, point_y: 17, number: 84, game_record: true, game: gameTwo.id, prior_move: 84 }, { player: 'black', point_x: 3, point_y: 18, number: 85, game_record: true, game: gameTwo.id, prior_move: 85 }, { player: 'white', point_x: 5, point_y: 16, number: 86, game_record: true, game: gameTwo.id, prior_move: 86 }, { player: 'black', point_x: 4, point_y: 15, number: 87, game_record: true, game: gameTwo.id, prior_move: 87 }, { player: 'white', point_x: 15, point_y: 2, number: 88, game_record: true, game: gameTwo.id, prior_move: 88 }, { player: 'black', point_x: 4, point_y: 3, number: 89, game_record: true, game: gameTwo.id, prior_move: 89 }, { player: 'white', point_x: 4, point_y: 4, number: 90, game_record: true, game: gameTwo.id, prior_move: 90 }, { player: 'black', point_x: 10, point_y: 4, number: 91, game_record: true, game: gameTwo.id, prior_move: 91 }, { player: 'white', point_x: 8, point_y: 3, number: 92, game_record: true, game: gameTwo.id, prior_move: 92 }, { player: 'black', point_x: 12, point_y: 7, number: 93, game_record: true, game: gameTwo.id, prior_move: 93 }, { player: 'white', point_x: 13, point_y: 6, number: 94, game_record: true, game: gameTwo.id, prior_move: 94 }, { player: 'black', point_x: 5, point_y: 2, number: 95, game_record: true, game: gameTwo.id, prior_move: 95 }, { player: 'white', point_x: 4, point_y: 2, number: 96, game_record: true, game: gameTwo.id, prior_move: 96 }, { player: 'black', point_x: 10, point_y: 7, number: 97, game_record: true, game: gameTwo.id, prior_move: 97 }, { player: 'white', point_x: 9, point_y: 7, number: 98, game_record: true, game: gameTwo.id, prior_move: 98 }, { player: 'black', point_x: 10, point_y: 6, number: 99, game_record: true, game: gameTwo.id, prior_move: 99 }, { player: 'white', point_x: 12, point_y: 8, number: 100, game_record: true, game: gameTwo.id, prior_move: 100 }, { player: 'black', point_x: 9, point_y: 8, number: 101, game_record: true, game: gameTwo.id, prior_move: 101 }, { player: 'white', point_x: 10, point_y: 9, number: 102, game_record: true, game: gameTwo.id, prior_move: 102 }, { player: 'black', point_x: 8, point_y: 5, number: 103, game_record: true, game: gameTwo.id, prior_move: 103 }, { player: 'white', point_x: 9, point_y: 9, number: 104, game_record: true, game: gameTwo.id, prior_move: 104 }, { player: 'black', point_x: 6, point_y: 3, number: 105, game_record: true, game: gameTwo.id, prior_move: 105 }, { player: 'white', point_x: 5, point_y: 4, number: 106, game_record: true, game: gameTwo.id, prior_move: 106 }, { player: 'black', point_x: 7, point_y: 5, number: 107, game_record: true, game: gameTwo.id, prior_move: 107 }, { player: 'white', point_x: 6, point_y: 4, number: 108, game_record: true, game: gameTwo.id, prior_move: 108 }, { player: 'black', point_x: 12, point_y: 4, number: 109, game_record: true, game: gameTwo.id, prior_move: 109 }, { player: 'white', point_x: 11, point_y: 3, number: 110, game_record: true, game: gameTwo.id, prior_move: 110 }, { player: 'black', point_x: 12, point_y: 3, number: 111, game_record: true, game: gameTwo.id, prior_move: 111 }, { player: 'white', point_x: 10, point_y: 3, number: 112, game_record: true, game: gameTwo.id, prior_move: 112 }, { player: 'black', point_x: 14, point_y: 4, number: 113, game_record: true, game: gameTwo.id, prior_move: 113 }, { player: 'white', point_x: 15, point_y: 4, number: 114, game_record: true, game: gameTwo.id, prior_move: 114 }, { player: 'black', point_x: 13, point_y: 5, number: 115, game_record: true, game: gameTwo.id, prior_move: 115 }, { player: 'white', point_x: 15, point_y: 5, number: 116, game_record: true, game: gameTwo.id, prior_move: 116 }, { player: 'black', point_x: 9, point_y: 4, number: 117, game_record: true, game: gameTwo.id, prior_move: 117 }, { player: 'white', point_x: 9, point_y: 3, number: 118, game_record: true, game: gameTwo.id, prior_move: 118 }, { player: 'black', point_x: 7, point_y: 7, number: 119, game_record: true, game: gameTwo.id, prior_move: 119 }, { player: 'white', point_x: 12, point_y: 6, number: 120, game_record: true, game: gameTwo.id, prior_move: 120 }, { player: 'black', point_x: 11, point_y: 4, number: 121, game_record: true, game: gameTwo.id, prior_move: 121 }, { player: 'white', point_x: 8, point_y: 8, number: 122, game_record: true, game: gameTwo.id, prior_move: 122 }, { player: 'black', point_x: 6, point_y: 8, number: 123, game_record: true, game: gameTwo.id, prior_move: 123 }, { player: 'white', point_x: 2, point_y: 8, number: 124, game_record: true, game: gameTwo.id, prior_move: 124 }, { player: 'black', point_x: 2, point_y: 9, number: 125, game_record: true, game: gameTwo.id, prior_move: 125 }, { player: 'white', point_x: 9, point_y: 12, number: 126, game_record: true, game: gameTwo.id, prior_move: 126 }, { player: 'black', point_x: 10, point_y: 12, number: 127, game_record: true, game: gameTwo.id, prior_move: 127 }, { player: 'white', point_x: 10, point_y: 10, number: 128, game_record: true, game: gameTwo.id, prior_move: 128 }, { player: 'black', point_x: 10, point_y: 11, number: 129, game_record: true, game: gameTwo.id, prior_move: 129 }, { player: 'white', point_x: 9, point_y: 13, number: 130, game_record: true, game: gameTwo.id, prior_move: 130 }, { player: 'black', point_x: 9, point_y: 14, number: 131, game_record: true, game: gameTwo.id, prior_move: 131 }, { player: 'white', point_x: 10, point_y: 13, number: 132, game_record: true, game: gameTwo.id, prior_move: 132 }, { player: 'black', point_x: 11, point_y: 11, number: 133, game_record: true, game: gameTwo.id, prior_move: 133 }, { player: 'white', point_x: 7, point_y: 13, number: 134, game_record: true, game: gameTwo.id, prior_move: 134 }, { player: 'black', point_x: 7, point_y: 14, number: 135, game_record: true, game: gameTwo.id, prior_move: 135 }, { player: 'white', point_x: 6, point_y: 13, number: 136, game_record: true, game: gameTwo.id, prior_move: 136 }, { player: 'black', point_x: 6, point_y: 14, number: 137, game_record: true, game: gameTwo.id, prior_move: 137 }, { player: 'white', point_x: 5, point_y: 13, number: 138, game_record: true, game: gameTwo.id, prior_move: 138 }, { player: 'black', point_x: 8, point_y: 13, number: 139, game_record: true, game: gameTwo.id, prior_move: 139 }, { player: 'white', point_x: 8, point_y: 12, number: 140, game_record: true, game: gameTwo.id, prior_move: 140 }, { player: 'black', point_x: 6, point_y: 11, number: 141, game_record: true, game: gameTwo.id, prior_move: 141 }, { player: 'white', point_x: 7, point_y: 11, number: 142, game_record: true, game: gameTwo.id, prior_move: 142 }, { player: 'black', point_x: 6, point_y: 15, number: 143, game_record: true, game: gameTwo.id, prior_move: 143 }, { player: 'white', point_x: 14, point_y: 8, number: 144, game_record: true, game: gameTwo.id, prior_move: 144 }, { player: 'black', point_x: 19, point_y: 12, number: 145, game_record: true, game: gameTwo.id, prior_move: 145 }, { player: 'white', point_x: 19, point_y: 13, number: 146, game_record: true, game: gameTwo.id, prior_move: 146 }, { player: 'black', point_x: 18, point_y: 13, number: 147, game_record: true, game: gameTwo.id, prior_move: 147 }, { player: 'white', point_x: 19, point_y: 11, number: 148, game_record: true, game: gameTwo.id, prior_move: 148 }, { player: 'black', point_x: 19, point_y: 14, number: 149, game_record: true, game: gameTwo.id, prior_move: 149 }, { player: 'white', point_x: 16, point_y: 13, number: 150, game_record: true, game: gameTwo.id, prior_move: 150 }, { player: 'black', point_x: 19, point_y: 12, number: 151, game_record: true, game: gameTwo.id, prior_move: 151 }, { player: 'white', point_x: 13, point_y: 15, number: 152, game_record: true, game: gameTwo.id, prior_move: 152 }, { player: 'black', point_x: 11, point_y: 18, number: 153, game_record: true, game: gameTwo.id, prior_move: 153 }, { player: 'white', point_x: 10, point_y: 18, number: 154, game_record: true, game: gameTwo.id, prior_move: 154 }, { player: 'black', point_x: 19, point_y: 10, number: 155, game_record: true, game: gameTwo.id, prior_move: 155 }, { player: 'white', point_x: 8, point_y: 18, number: 156, game_record: true, game: gameTwo.id, prior_move: 156 }, { player: 'black', point_x: 5, point_y: 19, number: 157, game_record: true, game: gameTwo.id, prior_move: 157 }, { player: 'white', point_x: 13, point_y: 9, number: 158, game_record: true, game: gameTwo.id, prior_move: 158 }, { player: 'black', point_x: 14, point_y: 10, number: 159, game_record: true, game: gameTwo.id, prior_move: 159 }, { player: 'white', point_x: 18, point_y: 18, number: 160, game_record: true, game: gameTwo.id, prior_move: 160 }, { player: 'black', point_x: 18, point_y: 17, number: 161, game_record: true, game: gameTwo.id, prior_move: 161 }, { player: 'white', point_x: 19, point_y: 17, number: 162, game_record: true, game: gameTwo.id, prior_move: 162 }, { player: 'black', point_x: 17, point_y: 18, number: 163, game_record: true, game: gameTwo.id, prior_move: 163 }, { player: 'white', point_x: 8, point_y: 15, number: 164, game_record: true, game: gameTwo.id, prior_move: 164 }, { player: 'black', point_x: 4, point_y: 13, number: 165, game_record: true, game: gameTwo.id, prior_move: 165 }, { player: 'white', point_x: 17, point_y: 1, number: 166, game_record: true, game: gameTwo.id, prior_move: 166 }, { player: 'black', point_x: 18, point_y: 2, number: 167, game_record: true, game: gameTwo.id, prior_move: 167 }, { player: 'white', point_x: 1, point_y: 9, number: 168, game_record: true, game: gameTwo.id, prior_move: 168 }, { player: 'black', point_x: 1, point_y: 10, number: 169, game_record: true, game: gameTwo.id, prior_move: 169 }, { player: 'white', point_x: 1, point_y: 8, number: 170, game_record: true, game: gameTwo.id, prior_move: 170 }, { player: 'black', point_x: 2, point_y: 10, number: 171, game_record: true, game: gameTwo.id, prior_move: 171 }, { player: 'white', point_x: 9, point_y: 6, number: 172, game_record: true, game: gameTwo.id, prior_move: 172 }, { player: 'black', point_x: 9, point_y: 5, number: 173, game_record: true, game: gameTwo.id, prior_move: 173 }, { player: 'white', point_x: 6, point_y: 6, number: 174, game_record: true, game: gameTwo.id, prior_move: 174 }, { player: 'black', point_x: 8, point_y: 7, number: 175, game_record: true, game: gameTwo.id, prior_move: 175 }, { player: 'white', point_x: 5, point_y: 7, number: 176, game_record: true, game: gameTwo.id, prior_move: 176 }, { player: 'black', point_x: 6, point_y: 18, number: 177, game_record: true, game: gameTwo.id, prior_move: 177 }, { player: 'white', point_x: 7, point_y: 18, number: 178, game_record: true, game: gameTwo.id, prior_move: 178 }, { player: 'black', point_x: 10, point_y: 19, number: 179, game_record: true, game: gameTwo.id, prior_move: 179 }, { player: 'white', point_x: 9, point_y: 19, number: 180, game_record: true, game: gameTwo.id, prior_move: 180 }, { player: 'black', point_x: 9, point_y: 17, number: 181, game_record: true, game: gameTwo.id, prior_move: 181 }, { player: 'white', point_x: 11, point_y: 19, number: 182, game_record: true, game: gameTwo.id, prior_move: 182 }, { player: 'black', point_x: 19, point_y: 18, number: 183, game_record: true, game: gameTwo.id, prior_move: 183 }, { player: 'white', point_x: 4, point_y: 19, number: 184, game_record: true, game: gameTwo.id, prior_move: 184 }, { player: 'black', point_x: 4, point_y: 18, number: 185, game_record: true, game: gameTwo.id, prior_move: 185 }, { player: 'white', point_x: 5, point_y: 18, number: 186, game_record: true, game: gameTwo.id, prior_move: 186 }, { player: 'black', point_x: 3, point_y: 19, number: 187, game_record: true, game: gameTwo.id, prior_move: 187 }, { player: 'white', point_x: 6, point_y: 17, number: 188, game_record: true, game: gameTwo.id, prior_move: 188 }, { player: 'black', point_x: 19, point_y: 16, number: 189, game_record: true, game: gameTwo.id, prior_move: 189 }, { player: 'white', point_x: 11, point_y: 2, number: 190, game_record: true, game: gameTwo.id, prior_move: 190 }, { player: 'black', point_x: 12, point_y: 2, number: 191, game_record: true, game: gameTwo.id, prior_move: 191 }, { player: 'white', point_x: 14, point_y: 5, number: 192, game_record: true, game: gameTwo.id, prior_move: 192 }, { player: 'black', point_x: 13, point_y: 3, number: 193, game_record: true, game: gameTwo.id, prior_move: 193 }, { player: 'white', point_x: 6, point_y: 10, number: 194, game_record: true, game: gameTwo.id, prior_move: 194 }, { player: 'black', point_x: 3, point_y: 8, number: 195, game_record: true, game: gameTwo.id, prior_move: 195 }, { player: 'white', point_x: 2, point_y: 7, number: 196, game_record: true, game: gameTwo.id, prior_move: 196 }, { player: 'black', point_x: 5, point_y: 10, number: 197, game_record: true, game: gameTwo.id, prior_move: 197 }, { player: 'white', point_x: 18, point_y: 15, number: 198, game_record: true, game: gameTwo.id, prior_move: 198 }, { player: 'black', point_x: 19, point_y: 15, number: 199, game_record: true, game: gameTwo.id, prior_move: 199 }, { player: 'white', point_x: 6, point_y: 19, number: 200, game_record: true, game: gameTwo.id, prior_move: 200 }, { player: 'black', point_x: 12, point_y: 19, number: 201, game_record: true, game: gameTwo.id, prior_move: 201 }, { player: 'white', point_x: 18, point_y: 1, number: 202, game_record: true, game: gameTwo.id, prior_move: 202 }, { player: 'black', point_x: 10, point_y: 19, number: 203, game_record: true, game: gameTwo.id, prior_move: 203 }, { player: 'white', point_x: 9, point_y: 18, number: 204, game_record: true, game: gameTwo.id, prior_move: 204 }, { player: 'black', point_x: 10, point_y: 15, number: 205, game_record: true, game: gameTwo.id, prior_move: 205 }, { player: 'white', point_x: 10, point_y: 16, number: 206, game_record: true, game: gameTwo.id, prior_move: 206 }, { player: 'black', point_x: 19, point_y: 2, number: 207, game_record: true, game: gameTwo.id, prior_move: 207 }, { player: 'white', point_x: 18, point_y: 14, number: 208, game_record: true, game: gameTwo.id, prior_move: 208 }, // { player: 'black', point_x: , point_y: , number: 209, game_record: true, game: gameTwo.id, prior_move: 207 }, // { player: 'white', point_x: , point_y: , number: 210, game_record: true, game: gameTwo.id, prior_move: 208 }, // { player: 'black', point_x: , point_y: , number: 211, game_record: true, game: gameTwo.id, prior_move: 207 }, // { player: 'white', point_x: , point_y: , number: 212, game_record: true, game: gameTwo.id, prior_move: 208 }, // { player: 'black', point_x: , point_y: , number: 213, game_record: true, game: gameTwo.id, prior_move: 207 }, // { player: 'white', point_x: , point_y: , number: 214, game_record: true, game: gameTwo.id, prior_move: 208 }, // { player: 'black', point_x: , point_y: , number: 215, game_record: true, game: gameTwo.id, prior_move: 207 }, // { player: 'white', point_x: , point_y: , number: 216, game_record: true, game: gameTwo.id, prior_move: 208 }, // { player: 'black', point_x: , point_y: , number: 217, game_record: true, game: gameTwo.id, prior_move: 207 }, // { player: 'white', point_x: , point_y: , number: 218, game_record: true, game: gameTwo.id, prior_move: 208 }, // { player: 'black', point_x: , point_y: , number: 219, game_record: true, game: gameTwo.id, prior_move: 207 }, // { player: 'white', point_x: , point_y: , number: 220, game_record: true, game: gameTwo.id, prior_move: 208 }, // { player: 'black', point_x: , point_y: , number: 221, game_record: true, game: gameTwo.id, prior_move: 207 }, // { player: 'white', point_x: , point_y: , number: 222, game_record: true, game: gameTwo.id, prior_move: 208 }, // { player: 'black', point_x: , point_y: , number: 223, game_record: true, game: gameTwo.id, prior_move: 207 }, // { player: 'white', point_x: , point_y: , number: 224, game_record: true, game: gameTwo.id, prior_move: 208 }, // { player: 'black', point_x: , point_y: , number: 225, game_record: true, game: gameTwo.id, prior_move: 207 }, // { player: 'white', point_x: , point_y: , number: 226, game_record: true, game: gameTwo.id, prior_move: 208 }, // { player: 'black', point_x: , point_y: , number: 227, game_record: true, game: gameTwo.id, prior_move: 207 }, // { player: 'white', point_x: , point_y: , number: 228, game_record: true, game: gameTwo.id, prior_move: 208 }, // { player: 'black', point_x: , point_y: , number: 229, game_record: true, game: gameTwo.id, prior_move: 207 }, // { player: 'white', point_x: , point_y: , number: 230, game_record: true, game: gameTwo.id, prior_move: 208 }, // { player: 'black', point_x: , point_y: , number: 231, game_record: true, game: gameTwo.id, prior_move: 207 }, // { player: 'white', point_x: , point_y: , number: 232, game_record: true, game: gameTwo.id, prior_move: 208 }, // { player: 'black', point_x: , point_y: , number: 233, game_record: true, game: gameTwo.id, prior_move: 207 }, // { player: 'white', point_x: , point_y: , number: 234, game_record: true, game: gameTwo.id, prior_move: 208 }, // { player: 'black', point_x: , point_y: , number: 235, game_record: true, game: gameTwo.id, prior_move: 207 }, // { player: 'white', point_x: , point_y: , number: 236, game_record: true, game: gameTwo.id, prior_move: 208 }, // { player: 'black', point_x: , point_y: , number: 237, game_record: true, game: gameTwo.id, prior_move: 207 }, // { player: 'white', point_x: , point_y: , number: 238, game_record: true, game: gameTwo.id, prior_move: 208 }, // { player: 'black', point_x: , point_y: , number: 239, game_record: true, game: gameTwo.id, prior_move: 207 }, // { player: 'white', point_x: , point_y: , number: 240, game_record: true, game: gameTwo.id, prior_move: 208 }, // { player: 'black', point_x: , point_y: , number: 241, game_record: true, game: gameTwo.id, prior_move: 207 }, // { player: 'white', point_x: , point_y: , number: 242, game_record: true, game: gameTwo.id, prior_move: 208 }, // { player: 'black', point_x: , point_y: , number: 243, game_record: true, game: gameTwo.id, prior_move: 207 }, // { player: 'white', point_x: , point_y: , number: 244, game_record: true, game: gameTwo.id, prior_move: 208 }, // { player: 'black', point_x: , point_y: , number: 245, game_record: true, game: gameTwo.id, prior_move: 207 }, // { player: 'white', point_x: , point_y: , number: 246, game_record: true, game: gameTwo.id, prior_move: 208 }, // { player: 'black', point_x: , point_y: , number: 247, game_record: true, game: gameTwo.id, prior_move: 207 }, // { player: 'white', point_x: , point_y: , number: 248, game_record: true, game: gameTwo.id, prior_move: 208 }, // { player: 'black', point_x: , point_y: , number: 249, game_record: true, game: gameTwo.id, prior_move: 207 }, // { player: 'white', point_x: , point_y: , number: 250, game_record: true, game: gameTwo.id, prior_move: 208 }, // { player: 'black', point_x: , point_y: , number: 251, game_record: true, game: gameTwo.id, prior_move: 207 }, ] ) .then(res => {console.log(res); return res;}) .catch(e => {console.log(e); return e;}) ) .then(() => {}) }) .then(() => {}) };