kuroko2 0.4.5 → 0.4.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (214) hide show
  1. checksums.yaml +4 -4
  2. data/db/migrate/{031_create_execution_histories.rb → 032_create_execution_histories.rb} +0 -0
  3. data/lib/kuroko2/version.rb +1 -1
  4. data/spec/dummy/db/schema.rb +206 -1
  5. data/spec/dummy/log/development.log +377 -0
  6. data/spec/dummy/log/test.log +21148 -0
  7. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/-4/-4v6aKNKEkXDWRkiVpsZHA1zpQmkGuFL4KTdnnDB6xM.cache +1 -0
  8. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/-J/-JfyJd7otcSj6W6UmOzLCq05d3ZItSx9qhSaFJohf0g.cache +1 -0
  9. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/-V/-Vthv7x5o_b_MGy2cm_RRwZ03a3XFjhmvjb4_3q2vXg.cache +3 -0
  10. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/-d/-dZ3hIw835WGxKfrLu9V8az7D8_ow5B9lGujV53Gn5E.cache +1 -0
  11. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/-q/-qPEJpbhPX79zEl2f6cjooU0U8cd6hxcWJha5Dn-zOg.cache +1 -0
  12. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/0b/0bNVcIvNgC1jB4wta6V9ALDSUL0g95tP-Ks4LK9S_P4.cache +1 -0
  13. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/0l/0lbxraK1QOOc7Y-Zi3EC1N5dXjLJkoev90MnpaNEbks.cache +0 -0
  14. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/15/15CbEuSzHtF9_xdc_2xpa2c2wmtz5RMcOD9Dyk2IPoM.cache +0 -0
  15. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/1V/1VMhUEWMX7Vq9fLimity8pxYAv0lANCCSO0nbx2JrZg.cache +0 -0
  16. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/1m/1MwGUDrZbVzelU40gv_Pqj_RTSoh46BQI-o5iomXXOg.cache +0 -0
  17. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/1n/1nsmLrBetZuXb1kGb-9HLT4Sc6G0CT83LkRYYXc-jVI.cache +4 -0
  18. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/2T/2TXkxh2SmEgCtNKx7fKLs2J7QcBjuB4wxFBLhzY1V8c.cache +1 -0
  19. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/4-/4-utpoYqWGrYCG0nnGyVuP-9ij_kmuyzJzqnDDGvVI8.cache +3 -0
  20. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/4H/4HwdnZ12TPHTCwpKN1h9_JAhQurcNuUR-G0eZhqePPk.cache +1 -0
  21. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/4K/4KFnpyxwtkt-CQww3-sKnkJL-SK888SPMldeJ2CvT4I.cache +1 -0
  22. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/4X/4xnB-3NaqtMoTRaQ9CkRusRLdh-Juws0PVTJ-KFL7nU.cache +0 -0
  23. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/4a/4ad6wcEbADd6hl92mGzFhSaiZv27EluDEc0ideP_QiE.cache +3 -0
  24. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/4b/4BXHY7C2UciKzlmNhrEuU6eMZTUxByRG56J9PH_sWZI.cache +1 -0
  25. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/4z/4zk53o1Qyu9BxZ7LtjFVFE31Zu-ZFtvA0aqwxVEQb5w.cache +3 -0
  26. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/56/56w1qQrsDIhV8HOezZkeKrtSlj6glLKOuNJYKoiWFaY.cache +1 -0
  27. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/5G/5gTKQfQ4iaZic65I1_VayCKlbcCVNqoQZGeDGUA7O9w.cache +2 -0
  28. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/5l/5lWjNXvH9mkToTrPdV-Sis5GCXXNayK3jVmy84zd45E.cache +1 -0
  29. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/68/68QAXwJUH2OHPUOzShKKMDOcq5jDrp0D9T9oRTijJ7M.cache +2 -0
  30. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/69/693qQTqNtx4XU1zEXKXXWm_265g13NDDxCliCpVajus.cache +3 -0
  31. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/6M/6mslqZ6-861LJ6X2N1kGwYwa3OWIX9-RBzbLC5Sv5Ic.cache +4 -0
  32. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/6b/6bosQrmkmOs29LrIZCJkgPea2UHtCHf15CHVf2QYT6U.cache +3 -0
  33. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/6c/6cthkueCnu0kw1rILbjI1im8lxM3_G3tuJcZdTRoNic.cache +1 -0
  34. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/6o/6Ob3AzVfINUeWfu9uYkV2Z9ZS-rTZ-7pvHeCgsWogJE.cache +4 -0
  35. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/6o/6o6ot75yWsCue__yens7HPguVHp_T_JlE7_v-PWGHow.cache +4 -0
  36. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/6p/6pwhEYZEaPtJA08EjKiD0Gs7WmrNGGpfCj1A22ExvPQ.cache +1 -0
  37. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/6y/6y6-v02KsBrnsiopv7EKswGHjzGqljn54H_TsaSCv6o.cache +3 -0
  38. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/70/70tP_YT8Wv1hBz3pYtp3HXHnNdIahcz9Z3hCNOH0GnA.cache +1 -0
  39. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/7F/7FRHpe-btTA4FFk_3nsfe5gi_wLSjsjPpNG4pOnr39k.cache +1 -0
  40. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/7G/7GjE60t29ame1M6Z6tN-0QMyVuW_T-eAja2JEag6Qds.cache +1 -0
  41. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/7L/7LyIHgx_kjjHOtsjZVKnlcKKm5qguAwP3qlZPDcRulI.cache +0 -0
  42. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/7X/7XonY_V5vFhEg4XZIYeg0-V66umnlDlOAN0y7C9aAEg.cache +1 -0
  43. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/89/89cqfvF-E2RGI6U_kvIjlvnyH0PlWJUYhx94Li3g1Dk.cache +0 -0
  44. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/8o/8o3kUUvF3CtgVKII6vlr4DQsTnJqr4bpadSkFltEGIM.cache +0 -0
  45. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/94/944z2nCIbEm3Hc0UEqJyS50TIAVmVBC4-9nN7b6gzGU.cache +1 -0
  46. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/9D/9Dnl_cy3-7wejMXwAnNXBOv5xtugJ35RoNxHgUrVHG8.cache +4 -0
  47. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/9p/9p-d9vV_VQqnKToikCNtGHrczEZTnVJx7hNnQBjd4aw.cache +0 -0
  48. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/A9/A9d2vsl6xp_yT2PLLyzHcuS9xKzplEpbiuH-wfrqVdc.cache +0 -0
  49. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/AN/An0e_JYfxEEXi0kRGlmYfee8DsRe4UWXP7Vo5UxU_KQ.cache +0 -0
  50. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ad/ADJkXKG5WcWzWEgCmf2CMo-j4N5Md0jVhZRoRyPrL3U.cache +1 -0
  51. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/At/Atr18N9mrB3056hjxH9n4O55-W2eVbaaftuBNUgBvvM.cache +0 -0
  52. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/BK/BKRdYLiP6013AluLIcyXm-EdOyR2olZFWtupzRSFryc.cache +1 -0
  53. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Bp/bpWA065qfu4PmXNpXQKWsT7CXyPLffn0v091bmszkiE.cache +1 -0
  54. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/CE/CELjUtuoo1-sZfikQbwifUrIevxA0zPpsX0iPSunoso.cache +1 -0
  55. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Cc/CcMdUUYhcClhQYf5PruQu8hoZChrtt54mcM_lDq4TYE.cache +1 -0
  56. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/DN/dnmnQ8KHbQ8mA_mnstgcKnzZlZXByPoq4CYFp7SCDdc.cache +0 -0
  57. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Dj/DjOW7vjnT3xq69daRr710D7V3DMyVtxwMSF9W3so-yQ.cache +1 -0
  58. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/EN/enb-7HiFzmf4HrF4mwvIvjtMZw3ZCAvZunaxUlIE4aM.cache +4 -0
  59. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ez/eZG849GseBnrHOPspt6-Y3plvHmfHFsmnK88_B5Gvdw.cache +1 -0
  60. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/FO/fOqE2BaZbkuYDMBbNUOtFcE0UMibzIDCjRS4pW9DZ9Y.cache +5 -0
  61. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Fh/fhl5gvHbQuC5Dh4lHyaEtUIUwlJ3A_blbeBhnmezWxo.cache +1 -0
  62. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Fr/fr-m8AAZDLfEus3OkZtzuaxAwUfKiBj2BjT1M9sS9V4.cache +3 -0
  63. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/GI/GiBixpYLycDE3Gf-bFkhWuUBUyYibcSJFlxl5i_X4Qs.cache +0 -0
  64. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Gr/GrUX1BuY7Der_0cOT37DYLLt0qmBktIBSuTBhtM3eKQ.cache +3 -0
  65. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/H2/h2sCBLrU0Jn7k28H1BnZ8BlxO-z-cgZ8KJlTLJJ0I9k.cache +3 -0
  66. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/HI/HI6LMyLydmWhhubsv8ftdU_Byi-GFuMljtW5GNkt5kM.cache +3 -0
  67. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/HR/HRlh4uoNSUc7IjK1cgjcMHymJSiiJagNa81fz0TP7NM.cache +1 -0
  68. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/HV/HvgRPq2W8LDWqyu3Pf40kQPv5DVEWrr_eCl6unWIDnk.cache +4 -0
  69. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Hu/Hu0jb_i5s1aixza-l-gJRo72p0kRhfiyFhv5UQxXLEk.cache +1 -0
  70. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Hy/HYb5UL9nl5YA8EMpE_LcmXCFr_n6Q0ieYkafpnLN8TQ.cache +1 -0
  71. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Hy/hY4TZM14xl8KXJTkCrPXZBGpAaf5KjwDNj27vSpUcxo.cache +0 -0
  72. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/IC/IcChk4sTHqv4sCzEKLzW099KPEK07UluOAwQLwoa_Sg.cache +3 -0
  73. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/IO/iOkrICJOqOX1OoJWuFwlYZOypAMXBJ4W7ZDyQi24ngU.cache +1 -0
  74. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/J2/J2YhXN9CXPlN3jD7iBsnGvR47d1lM66IELMPK7Pc3Mg.cache +1 -0
  75. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Jh/JH_NklT6GDzeNmhmPK1IfjiTeXbxe963iT-uqX6E9UA.cache +1 -0
  76. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/KC/KC1rBDUT1DqoAxn7frVVvOgdFEJSXun7p-Z86WmfcQ8.cache +1 -0
  77. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/KZ/KZVe-Bkr_9YSphjZo2QK8bCST5M8vs4Czz0MDp_C5-Y.cache +1 -0
  78. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/LI/liKyvdHh-bwxRKWlQ1szJxWOf52RohZaS4paxIVfCrc.cache +0 -0
  79. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/LX/LXpPpvjiBwSuUji4-PafvpHl6VfP3Yx74gHVd6vFolw.cache +0 -0
  80. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/LX/lxo4Ptry1HioMhngPmu-SMphTVnlhm03eVd-ZsNLwYA.cache +3 -0
  81. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/L_/L_IgXKFKzqGIwjqBrxSzStmFLOLT3Bto03sMq11JTyg.cache +1 -0
  82. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/M3/M3TAyyugK0wrJhz_SApP3yDY39LolSeTrxI_OhEkDaQ.cache +4 -0
  83. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/M5/M5mDeA_4UhzN3A6WFhy58maejC9ix5ih8PJBsKoAwdI.cache +1 -0
  84. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/M6/M6BnAxWcpwnTn3DeAWC6aa4U2IPKkp1cyJ33-fEoSmA.cache +1 -0
  85. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/M_/M_OxKDo9woLEJtof9aGiLk1ubSq6is7uJ4bEcgnKULU.cache +4 -0
  86. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/M_/m_zCMmeqR-yTfOgIGAdXB_uB8vUecDnAe-noBzUPD24.cache +0 -0
  87. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Mb/Mbw9dFLJ0KVpKWkP-Nqis6W4gqyou-35nWa04xPu0-4.cache +1 -0
  88. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/N8/N8YRz_E7ZKhRb3_t7WbbC7dlxt78M2CfOp0poK_BtAg.cache +1 -0
  89. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ng/nGMXceT47PYlm6PjcZlOGwATKg3S0uzZDn6oawv8njY.cache +0 -0
  90. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/O4/O4sRDXPHpy8jVd0TIvUFzalF9YwMpaSnrlIXGBh2A-E.cache +1 -0
  91. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ph/PHk4N9bUSDrGuozNbAsmjS2fd-CH80Z-kuJd25FbDtw.cache +1 -0
  92. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Pj/pja_h5W4wW7jzjgzm4eOEVK8eAJP_UNQ_J3mmz123GY.cache +1 -0
  93. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Pp/PpzJd664RS5Y4nIDd0MojpsykbBvbMJtlWwgnnTyAt8.cache +1 -0
  94. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/QF/QfI8KGB0dWkLFUMhu7Dl3qYThwqWzmdLW_DfXLXyGSY.cache +0 -0
  95. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/QH/QHPw17P9Qg2dzu8dqmMOWxjj23TjG-R0J6BYKK2EgSM.cache +1 -0
  96. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Qw/qwUvjhbAycYcr7m9u1exzJKbFN0vH6_yrOikOmbGETU.cache +1 -0
  97. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/S0/S0MePPq5Hd4jXwvBCEEFJaOoQap_EuG4c14Bcoy0ZiY.cache +1 -0
  98. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/S9/S9kEtioBPghlbP0umc8dbGOx4LEDrdt4A6QRgYua76k.cache +3 -0
  99. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Sm/sMFG49ZWNwtApvj3Ow6flnfiR-LsoFzb-NHWekC4TtI.cache +1 -0
  100. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Sm/smCCTiwrK-wXNsvRTU0gx43p11Pq4M_P86MTtOyqYRI.cache +4 -0
  101. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/T6/T6YNT4wRAgVZwGyS1QJLCyC2UrCiP57JZzfsLpgeekM.cache +1 -0
  102. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Tc/TcfS-80sd4Bb0xioFgrB1tsgbZIZ59SxeR-hY4kKYdg.cache +1 -0
  103. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Tj/tjiptHGt3bvf2peGdmQJu4cSF8G_gdLM5JODUswRxLc.cache +1 -0
  104. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Tp/tp0UAvcOqhPQY_WtkOAL5K9sW1aXN4grYOkCBP9o8i8.cache +4 -0
  105. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/UA/UAFsPjjHssrgcsAM9zvC0N-J5nYRk1eY8-nY3-SaJ6o.cache +0 -0
  106. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/UR/urWwrKL-ZNx36ppIW4lYag8Lj6MEvByP8oQRmu13ddI.cache +1 -0
  107. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/UT/UTSHtAMQIZLzrPNOfWZjyCKwx07s8Lqq-ypOhm43IfE.cache +2 -0
  108. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/UT/UtOtL9XYC7LisA_2CUzhswlu4mM3HwsQ6oUNr2GVXC4.cache +0 -0
  109. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/UW/UW0a90uym9cTTHo4BuUHgskk-d09zFEmfLhoyGWQFGE.cache +1 -0
  110. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/UW/UWhseJOVyysI2GQEi2zEn139jLNc5AdJRF07AkhOeMA.cache +1 -0
  111. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Uf/uFOEzG-SEaCXp-yTtUb8YqxAXXqBQHHYmI3oMCGX1Tw.cache +1 -0
  112. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Vs/VS2hYQJlUjNj4Smarcng4rv4QdR02XliBoWKWCGRXoI.cache +1 -0
  113. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Xp/XpGVg0MfNRrw0T9F360_uLvhpLcDuitqW89hcJ8E02E.cache +0 -0
  114. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Xt/XTM7s25fFlp6BN2p25PZcw9Th9xZH83nR1NgxzAcXek.cache +0 -0
  115. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Y5/y5n-xw2w-GgDr00URB4mwdw3pSlXiyP4LBbM6JcQQXc.cache +0 -0
  116. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/YL/YL1akuKhlMjCoHbTsI47CxDrDjEfLfcvBVv-NKXetb0.cache +3 -0
  117. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/YS/Ys-8-ixgzX-FGe87Xml-nnfgxrMl9ikxKoNllTt9hLM.cache +1 -0
  118. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/YY/YypLM-2ReS-vSMc05pRv1gcKfMoFoXcx2qaSmQJ3E-k.cache +0 -0
  119. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/YY/yYZmW9G2v1ju2f1XJ6fL9zG8PnjEC9wPDd1sX9_0KXA.cache +0 -0
  120. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Yd/Yd2ixe5Gfr0tx_qh9_Jyu84c6EyawZX5G_sVIaoPKVk.cache +1 -0
  121. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Yq/YqOWLu84JCfYybzZ8lOi2qcDQoQMOhOrY_8rx14sl38.cache +3 -0
  122. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Zf/ZfRJXgPU06ZQ2-Z7oI23OmICzneO5-g7DRmyKnpi4Cw.cache +1 -0
  123. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Zh/Zh82uAGTG9yGl_Pw-wwnHEjcKjYWNZBFrwt-y-4hgfE.cache +3 -0
  124. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Zt/ZTZAxWE2XsrZWxsuP5VOiWxY_xZyv6FnchmoGU8N5O8.cache +4 -0
  125. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/_W/_W6kbnK0pIGqc8B1NQJvBiD7Dp_4H0LfRXUV3NS-QTE.cache +1 -0
  126. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/_d/_dpU3-fHBmcSGjZFiwvpvyRZdcCb13-XTcZXiN7Cszo.cache +1 -0
  127. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/_o/_OyF35HY_8OzzOpyqZZXmbjGdydATZcjdLqvs8KKxxY.cache +1 -0
  128. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/_o/_oanIDLmaK-mfRY6Hi_Xl-Q4wL_CbGZcRjeO-4r47LQ.cache +3 -0
  129. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/_t/_toL7jCuAUvKHHE2pG8nbpSM88o7Sx3MOUmg649kSpU.cache +1 -0
  130. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/_y/_ysP7drUQWvn8EBp4FwUB8DSwFqSqSLJBrrI9NixL-c.cache +0 -0
  131. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/a2/a2UFvrmnIsJdYeUhtM2ksyzGQdAQk5WuG6uaEptcckc.cache +0 -0
  132. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/aE/aEeoKTKnkr2VYZgp_MJH1ctKAayVVYCLCmb60s-01q0.cache +0 -0
  133. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ac/acCqMFMxyShrx2BRjyyi8eiP1FZYXWPPngFSNqBQLXQ.cache +0 -0
  134. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/bC/bcicUqhtq-7rL_tnaK2_GuqsJx7L-CUF8ZzF_fsedCM.cache +1 -0
  135. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/b_/b_Itlk9QZZd7Rvf8kcA4yLP1R5Acu7jB-m1xQiSU0qE.cache +0 -0
  136. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/c1/c1VhSUguKQls6j3wOr5WX-NsqyM0QeKkLxtDEiGxFqs.cache +3 -0
  137. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/cA/cAfVmgsJmhXcU-bZXVdQVJJjfJJUvSuORVnqRqU55Gk.cache +1 -0
  138. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/cF/CfkS4KpuEwt5hwCAiEHIcZeztYNfxea_Qdw9YTgG8QU.cache +0 -0
  139. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/cZ/cZA9g6I2ly-dYh_xY0yNSKTOmBjrwxn6R772BU6cPuc.cache +1 -0
  140. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/dF/dFq1vD2ZL5PSX8MBH13EZOmkLaHp_t79xmpcA28xpJA.cache +1 -0
  141. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/dW/dWNFoHN4Nc-LDmBXhW7XtX-pWtheXHKaX-DezMUf-OI.cache +3 -0
  142. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/da/daPyTze6nifubtMtWDFdWAWw28E0T4RYlEGZeXcgvbM.cache +0 -0
  143. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/dp/DpPRDcS5QXF0hIAu_qznySWxpUl-jcFZi2OFWrh_PUA.cache +5 -0
  144. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/dy/dylE8FOErXNBFEuwqGArs9t-_A0jH5yq1LIWZkQTwG4.cache +0 -0
  145. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ea/Ear7DMzru0iFLusMYgiSRnSBa8I8-I1f5redf9Vajr8.cache +1 -0
  146. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/f0/f0j0c52Yx3qZhmND2KNHC1ZejJNztc-JelTO1IIZNOQ.cache +5 -0
  147. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/gC/Gc8L4OUmQpN4DXBgh76E2TnoMatCdqvnPBym-s9jPsw.cache +3 -0
  148. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/gJ/gJ4gw0zC6sX1jNPm3xi8j2vqybK5-36YDnuQVqhWF6I.cache +4 -0
  149. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/gz/gzCcHtZy2NXNPJuKGPIYMb6-KAtAq3cjbqZ3GK2XCY8.cache +1 -0
  150. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/hX/hx6wUM-E8GA0AGhc-mnWKR22-6GRbJvs3lA0c_Im_X0.cache +3 -0
  151. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/iA/iADgnLQLSHs7olttHSFicFQj5Ww91dT2Jqp25CX_ZEM.cache +0 -0
  152. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/iT/it-GIp9vubzl9nBEve3v6KCELv1FcxYwVsydzVLDLKQ.cache +1 -0
  153. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/iY/iYGZH20mPTytKju_C-3Lug0z73oYTijd-cgc2knkxNE.cache +5 -0
  154. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/j1/j1TcnwMgy6IHk1tX7LaPPq5-YLYuY3QqqE6cRb4fUis.cache +1 -0
  155. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/jA/jAB0YpE7Jh7oxlW9pRB30Z5qumlCeVPAXVpIyXzMP7Y.cache +0 -0
  156. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/kI/kIkaP4nsMBLAnU0tbzBtQCnEhu1doiQBzKhaSHQ8auo.cache +4 -0
  157. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/l7/l7LSQbvJJIyCx2ruwfWnqgTuYAy7R0lHP3vKyFomkFo.cache +0 -0
  158. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/lB/LBTtefBQ5_gJIfgjV4IsPLMAOgcFYNH92JWAivVrnqc.cache +0 -0
  159. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/mE/mEDGhjw0wQcBCBtmUFO_HCQ0nbWm6Gfl-UPG-PFw-pc.cache +1 -0
  160. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/mI/MIeO15eiIHcbkaGgCVlEiscMa7aaqfDp4Om6HyHa4ZI.cache +1 -0
  161. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/mI/MImXQwpf0oyqScCCidmqIwCQVquj3Zra3MJHSd64dB8.cache +3 -0
  162. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/mI/mIKkvDfyAOOzKZpr9Z_pdhY79uptgvxx9x0ypq5H_5E.cache +1 -0
  163. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/mX/mXqukCVxerHLMMPdjzwXKOvnfUeSPbhyBaIGYDhRVFo.cache +0 -0
  164. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/mZ/MzcHx7sya3pgoJkJnRf1drq_yvranBW1t668p4sVIMU.cache +2 -0
  165. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/md/mD9n86LaRIbR7eV93GfUZnCLcsDTlcZ0juYPNiyyJas.cache +3 -0
  166. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/mp/Mps9rQVZGmlu5DiN32kLBraonjXWfNtA7Od0hPiBE3Y.cache +1 -0
  167. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/nS/nSmob6We00I8Vfqvb7llMGbPtWhePO0dAXZmlXmwhHE.cache +4 -0
  168. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/nW/nWsC78_CPDKb66MYeY8Cu7Vzq-w9izK2hFrZsNSa3XU.cache +1 -0
  169. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/nu/nUO9xzz2DLE-bHBrhEGuRpBX-KTlrVGc_fEjchuneBk.cache +1 -0
  170. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/o-/o--X92nTA5yXTcFfYL9G-MHXfnaEjhe4zDM3TZqzOWg.cache +1 -0
  171. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/o1/o1YriPtpn9sPXQykUIcQNtg6o7OYFqSAW_Ei5L419Ko.cache +0 -0
  172. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/om/oMlWTm7tZdzkvXUWcuMG0Zcc3QgJDMS2xvhwZx7X5CA.cache +0 -0
  173. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/qK/Qkuu_R_mnPaVZjJp8dMSam4Lcm86CMg-8wUxMdg7LY8.cache +1 -0
  174. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/r7/r7apUQpcPLr2CShYyULHTHpsz3feU5uIUJLUrhLIQhg.cache +3 -0
  175. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/rD/rDX1p_p2Jo0YcXP6D9EHbkLQ26BMz5yy2hWFCRtYqu0.cache +4 -0
  176. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/rG/RGH4DBrgt7JXk5CRhtWM_QxTMnfCOstHZ1-nqIBSmuE.cache +3 -0
  177. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/rQ/rqReaKvlnCkXtTHniJZSS3XCBChSHY9ymOow8NFWazE.cache +1 -0
  178. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/rb/rbQc2ItC0FKw1sKi7IHGOR_zKOaUWDn8gge0-R8pzgw.cache +1 -0
  179. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/rc/rc3Oeg6qBrc7D2i4MX5wQzB4nl1j9279iI38ZKQmPlc.cache +0 -0
  180. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ry/ryzzUVCwH99QpfbLHRdFPdpNuIeHh1bAv_6CgonkmGM.cache +0 -0
  181. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/s5/s5BlZ3s41vIlTbbo_CNqf2r5lKzqnu_KN45LaDaF3YU.cache +1 -0
  182. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/s8/s8g8tMXc2qqr_NmoaqOJxL8RYEyS1BCEb5cBYy6VCw8.cache +3 -0
  183. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/sH/sHtjtXUgJi57ubSAGQ6GKAAlNUN1_T5g4gqNjQuQiqE.cache +1 -0
  184. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/sU/SUH4ptNWpRn-Qmfzd7B7CSlxJ6xmhjlklMy0TWRFvRY.cache +0 -0
  185. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/sb/sbMrvs5ZCmNE-21mCd9ViUjTWonZff4qGYnZ3NokD34.cache +1 -0
  186. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/tK/tKOdqJVn_op14AF1bJpt2tycQmbzBW3rWAcb0FNVewY.cache +0 -0
  187. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/tz/tzDSpS1WwHpZAXTNDap0E5o3wFpE5YOogTsjEgrAz10.cache +2 -0
  188. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/u1/u1I-Gp363bTGDfvk4PS9FidTRGJp6jkB05FzeNO8xhg.cache +1 -0
  189. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/u1/u1sJFCC4H3BI1Z8pkf3UN6-ILY_C-4yzYPRvRqQTGCo.cache +1 -0
  190. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/uX/uX4sRxCIDIjWZ4jBsLnlDDJk6SGW6FG7VW7p5QAYL7o.cache +1 -0
  191. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/v0/V0dehf8kKmIvHWx5iRMw-j6GVU2jq1_bRJSdy14JV6U.cache +1 -0
  192. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/vg/vgsFGs8qbttslhOuXO5O5OBwhZBK_L6oPoeF8hx6PwA.cache +1 -0
  193. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/w5/w5_y9uMotfPp3RBoUrIL5eoTdCyTdnNijFVv0GBXKm4.cache +1 -0
  194. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/wJ/wJmtkiW3sTHtvv_-wxtrytor-RBOm50aTAIyYOvoc34.cache +0 -0
  195. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/wS/wS-191VWYQNpJ1Rs0bs7nQmoRjU8mj_4xeFrxrJGklg.cache +3 -0
  196. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/wS/wsIKeZS4a06uwDNs900ASkdmeRuFxrkkZWt4n698ofo.cache +1 -0
  197. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/wU/wu-pUGbqa0Az9410L8KSzb1NxfPlj7Kzbl_a2dRdoGQ.cache +1 -0
  198. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/wn/wNA95syKkaFJSBiRG35DJVZgSiSb_QskNC-X6bgS7OM.cache +1 -0
  199. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/x0/x0FyN_sOsiiy9zuTjVHe3iNyheayJN-6jaZZTpe4jYA.cache +0 -0
  200. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/x7/x7PYh8DJvPykcEqpVab2vcY9-GFz-3cqtoMlRAu94Uc.cache +0 -0
  201. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/x9/x9-u99qMiyA1ejvMIj4KwRxSCGbVqWxTxDBiZJBmbTQ.cache +0 -0
  202. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/xU/XuFdeWtClaTAM6sHVKtoHlnVTsPnT9WmEPd5WOvmsbg.cache +1 -0
  203. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/xV/XVckgEHmS4qoOxXE7uBzXxMlWNkSD43cNgjqQi4cc-w.cache +3 -0
  204. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/xj/XjZfudWkKd3dsd7k9GIHQNxBNQ8hEiqbyfhyHfZ2UHQ.cache +1 -0
  205. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/y-/y-TIZFuXRdwGctDy8zVoPljlySBBpRBJtrCpUcsOcqM.cache +3 -0
  206. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/y0/y0Z2boWP0RExd_yFpBogxTxrqhhl4XIulQqH-t6h838.cache +1 -0
  207. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/y6/y6Vx3Bs1BZTmkZDNROtxE8HiqXq-tXuGm5bxq6f1OoE.cache +1 -0
  208. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/yK/YkEaJ-41h3-II7zoeue8ZJSZAAwoPq2qF3TcD1K2Nuk.cache +3 -0
  209. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/yN/YN8tqWEJRDFL8Tc-XwYhf5eAPE0TYWvqDiLSKQb-ymA.cache +1 -0
  210. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/yZ/yZIkycMOjNq-S4KmhhnQUe5OLQezYF2xLyeZmZRnclI.cache +0 -0
  211. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/yp/ypQA6YV9QpnqoJ7Q5qLECKTozpXI70SJpbS8FZxCEiE.cache +0 -0
  212. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/z9/z9bBrnCW6DCmV7M6LcSc64m19Kp-6RpHdgI9LIOijjU.cache +0 -0
  213. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/zG/Zglm35USGjHNt4XVqnSq24QGsRHzsEyCXrj3ySlmyCE.cache +0 -0
  214. metadata +398 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d66f084f8f4eabb9f6a0c0b26dad87b4009a4f97
4
- data.tar.gz: 0256ee9b074d99821adbd5c1a8bf3bb280c29574
3
+ metadata.gz: b2fde63df52bdce8464fffea8837ad4524cd71ae
4
+ data.tar.gz: aab350541d182cbc9f4504a8c89d2b532e1adf46
5
5
  SHA512:
6
- metadata.gz: 4412638419a0984cde3aaf825f92b95a4e65eae33f660968635440decb04362b659b06a7a8aa0b18796a3f00dd551fa09a553d92fbe195edcda806f642d1fcf2
7
- data.tar.gz: 0cb2e9266689d1636c67b5e7eae2ef56556d1b9188b0e2e56abd3c1fff739de7c041feb3ea98a8afe3382f1d0813c8da773773125aed2d244076a693be8d8884
6
+ metadata.gz: 771e9af53dd70ac9d2a2e414cf118927584b022b5b5f16a51b7450b3cf5f84cb1419ee0ce5b3ebda8f42c5bc30835cc74ddafe07160646f7bddeb05a9235914e
7
+ data.tar.gz: 80a7ed875c6ef84af6f5c22b274c85461d168acad722f15ac595d2885a4c9fb9415fe12cc57c9fba01a132c1a9c76fc34553861d632c744527bd60845fae3317
@@ -1,3 +1,3 @@
1
1
  module Kuroko2
2
- VERSION = '0.4.5'
2
+ VERSION = '0.4.6'
3
3
  end
@@ -10,7 +10,7 @@
10
10
  #
11
11
  # It's strongly recommended that you check this file into your version control system.
12
12
 
13
- ActiveRecord::Schema.define(version: 31) do
13
+ ActiveRecord::Schema.define(version: 32) do
14
14
 
15
15
  create_table "admin_assignments", id: :integer, force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4" do |t|
16
16
  t.integer "user_id", null: false
@@ -114,6 +114,211 @@ ActiveRecord::Schema.define(version: 31) do
114
114
  t.index ["job_definition_id", "cron"], name: "kuroko2_suspend_schedules_definition_id_cron_idx", unique: true
115
115
  end
116
116
 
117
+ create_table "admin_assignments", id: :integer, force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4" do |t|
118
+ t.integer "user_id", null: false
119
+ t.integer "job_definition_id", null: false
120
+ t.datetime "created_at"
121
+ t.datetime "updated_at"
122
+ t.index ["user_id", "job_definition_id"], name: "user_id", unique: true
123
+ end
124
+
125
+ create_table "execution_histories", id: :integer, force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4" do |t|
126
+ t.string "hostname", limit: 180
127
+ t.integer "worker_id", limit: 1
128
+ t.string "queue", limit: 180, default: "@default", null: false
129
+ t.integer "job_definition_id", null: false
130
+ t.integer "job_instance_id", null: false
131
+ t.text "shell", null: false
132
+ t.datetime "started_at", null: false
133
+ t.datetime "finished_at", null: false
134
+ t.index ["worker_id", "started_at"], name: "index_kuroko2_execution_histories_on_worker_id_and_started_at"
135
+ end
136
+
137
+ create_table "executions", id: :integer, force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4" do |t|
138
+ t.string "uuid", limit: 36, null: false
139
+ t.integer "job_definition_id"
140
+ t.integer "job_definition_version"
141
+ t.integer "job_instance_id"
142
+ t.integer "token_id"
143
+ t.string "queue", limit: 180, default: "@default", null: false
144
+ t.text "shell", null: false
145
+ t.text "context", null: false
146
+ t.integer "pid"
147
+ t.text "output", limit: 4294967295
148
+ t.integer "exit_status", limit: 2
149
+ t.integer "term_signal", limit: 1
150
+ t.datetime "started_at"
151
+ t.datetime "finished_at"
152
+ t.datetime "mailed_at"
153
+ t.datetime "created_at"
154
+ t.datetime "updated_at"
155
+ t.string "hostname", limit: 180
156
+ t.integer "worker_id", limit: 1
157
+ t.index ["job_definition_id", "token_id"], name: "index_kuroko2_executions_on_job_definition_id_and_token_id", unique: true
158
+ t.index ["started_at"], name: "started_at"
159
+ end
160
+
161
+ create_table "job_definition_tags", id: :integer, force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4" do |t|
162
+ t.integer "job_definition_id", null: false
163
+ t.integer "tag_id", null: false
164
+ t.datetime "created_at", null: false
165
+ t.datetime "updated_at", null: false
166
+ t.index ["job_definition_id", "tag_id"], name: "kuroko2_definition_tag_idx", unique: true
167
+ t.index ["tag_id"], name: "job_definition_tags_tag_id"
168
+ end
169
+
170
+ create_table "job_definitions", id: :integer, force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4" do |t|
171
+ t.integer "version", default: 0, null: false
172
+ t.string "name", limit: 180, null: false
173
+ t.text "description", null: false
174
+ t.text "script", null: false
175
+ t.boolean "suspended", default: false, null: false
176
+ t.integer "prevent_multi", default: 1, null: false
177
+ t.boolean "notify_cancellation", default: true, null: false
178
+ t.string "hipchat_room", limit: 180, default: "", null: false
179
+ t.boolean "hipchat_notify_finished", default: true, null: false
180
+ t.string "hipchat_additional_text", limit: 180
181
+ t.string "slack_channel", limit: 180, default: "", null: false
182
+ t.boolean "api_allowed", default: false, null: false
183
+ t.datetime "created_at"
184
+ t.datetime "updated_at"
185
+ t.text "webhook_url"
186
+ t.index ["name"], name: "name"
187
+ end
188
+
189
+ create_table "job_instances", id: :integer, force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4" do |t|
190
+ t.integer "job_definition_id"
191
+ t.integer "job_definition_version"
192
+ t.text "script"
193
+ t.datetime "finished_at"
194
+ t.datetime "canceled_at"
195
+ t.datetime "error_at"
196
+ t.datetime "created_at"
197
+ t.datetime "updated_at"
198
+ t.boolean "retrying", default: false, null: false
199
+ t.index ["finished_at", "canceled_at", "job_definition_id"], name: "job_instance_idx"
200
+ t.index ["job_definition_id"], name: "index_kuroko2_job_instances_on_job_definition_id"
201
+ end
202
+
203
+ create_table "job_schedules", id: :integer, force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4" do |t|
204
+ t.integer "job_definition_id"
205
+ t.string "cron", limit: 180
206
+ t.datetime "created_at"
207
+ t.datetime "updated_at"
208
+ t.index ["job_definition_id", "cron"], name: "kuroko2_schedules_definition_id_cron_idx", unique: true
209
+ end
210
+
211
+ create_table "job_suspend_schedules", id: :integer, force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4" do |t|
212
+ t.integer "job_definition_id"
213
+ t.string "cron", limit: 180
214
+ t.datetime "created_at", null: false
215
+ t.datetime "updated_at", null: false
216
+ t.index ["job_definition_id", "cron"], name: "kuroko2_suspend_schedules_definition_id_cron_idx", unique: true
217
+ end
218
+
219
+ create_table "logs", id: :integer, force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4" do |t|
220
+ t.integer "job_instance_id"
221
+ t.string "level", limit: 10
222
+ t.text "message", limit: 4294967295
223
+ t.datetime "created_at"
224
+ t.datetime "updated_at"
225
+ t.index ["job_instance_id"], name: "job_instance_id"
226
+ end
227
+
228
+ create_table "memory_consumption_logs", id: :integer, force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4" do |t|
229
+ t.integer "job_instance_id"
230
+ t.integer "value", null: false
231
+ t.datetime "created_at", null: false
232
+ t.datetime "updated_at", null: false
233
+ t.index ["job_instance_id"], name: "index_kuroko2_memory_consumption_logs_on_job_instance_id"
234
+ end
235
+
236
+ create_table "memory_expectancies", id: :integer, force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4" do |t|
237
+ t.integer "expected_value", default: 0, null: false
238
+ t.integer "job_definition_id"
239
+ t.datetime "created_at", null: false
240
+ t.datetime "updated_at", null: false
241
+ t.index ["job_definition_id"], name: "index_kuroko2_memory_expectancies_on_job_definition_id"
242
+ end
243
+
244
+ create_table "process_signals", id: :integer, force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4" do |t|
245
+ t.string "hostname", limit: 180, default: "", null: false
246
+ t.integer "pid", null: false
247
+ t.integer "number", limit: 1, default: 15, null: false
248
+ t.datetime "started_at"
249
+ t.datetime "created_at"
250
+ t.datetime "updated_at"
251
+ t.text "message"
252
+ t.integer "execution_id"
253
+ t.index ["execution_id"], name: "index_kuroko2_process_signals_on_execution_id"
254
+ t.index ["hostname", "started_at"], name: "hostname_started_at"
255
+ end
256
+
257
+ create_table "stars", id: :integer, force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4" do |t|
258
+ t.integer "user_id", null: false
259
+ t.integer "job_definition_id", null: false
260
+ t.datetime "created_at"
261
+ t.datetime "updated_at"
262
+ t.index ["user_id", "job_definition_id"], name: "index_kuroko2_stars_on_user_id_and_job_definition_id", unique: true
263
+ end
264
+
265
+ create_table "tags", id: :integer, force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4" do |t|
266
+ t.string "name", limit: 100, null: false
267
+ t.datetime "created_at", null: false
268
+ t.datetime "updated_at", null: false
269
+ t.index ["name"], name: "index_kuroko2_tags_on_name", unique: true
270
+ end
271
+
272
+ create_table "ticks", id: :integer, force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4" do |t|
273
+ t.datetime "at"
274
+ end
275
+
276
+ create_table "tokens", id: :integer, force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4" do |t|
277
+ t.string "uuid", limit: 36, null: false
278
+ t.integer "job_definition_id"
279
+ t.integer "job_definition_version"
280
+ t.integer "job_instance_id"
281
+ t.integer "parent_id"
282
+ t.text "script", null: false
283
+ t.string "path", limit: 180, default: "/", null: false
284
+ t.integer "status", default: 0, null: false
285
+ t.text "message", null: false
286
+ t.text "context", null: false
287
+ t.datetime "created_at"
288
+ t.datetime "updated_at"
289
+ t.index ["parent_id"], name: "parent_id"
290
+ t.index ["status"], name: "status"
291
+ end
292
+
293
+ create_table "users", id: :integer, force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4" do |t|
294
+ t.string "provider", limit: 180, default: "google_oauth2", null: false
295
+ t.string "uid", limit: 180, null: false
296
+ t.string "name", limit: 180, default: "", null: false
297
+ t.string "email", limit: 180, null: false
298
+ t.string "first_name", limit: 180, default: "", null: false
299
+ t.string "last_name", limit: 180, default: "", null: false
300
+ t.string "image", limit: 180, default: "", null: false
301
+ t.datetime "suspended_at"
302
+ t.datetime "created_at"
303
+ t.datetime "updated_at"
304
+ t.index ["email"], name: "email"
305
+ t.index ["uid", "suspended_at"], name: "uid_2"
306
+ t.index ["uid"], name: "uid", unique: true
307
+ end
308
+
309
+ create_table "workers", id: :integer, force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4" do |t|
310
+ t.string "hostname", limit: 180, null: false
311
+ t.integer "worker_id", limit: 1, null: false
312
+ t.string "queue", limit: 180, default: "@default", null: false
313
+ t.boolean "working", default: false, null: false
314
+ t.integer "execution_id"
315
+ t.boolean "suspendable", default: false, null: false
316
+ t.boolean "suspended", default: false, null: false
317
+ t.datetime "created_at"
318
+ t.datetime "updated_at"
319
+ t.index ["hostname", "worker_id"], name: "hostname", unique: true
320
+ end
321
+
117
322
  create_table "logs", id: :integer, force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4" do |t|
118
323
  t.integer "job_instance_id"
119
324
  t.string "level", limit: 10
@@ -7295,3 +7295,380 @@ Migrating to AddExecutionIdToProcessSignals (29)
7295
7295
   (0.4ms) SHOW TABLE STATUS LIKE 'users'
7296
7296
   (0.2ms) SHOW CREATE TABLE `workers`
7297
7297
   (0.4ms) SHOW TABLE STATUS LIKE 'workers'
7298
+ DEPRECATION WARNING: ActiveSupport.halt_callback_chains_on_return_false= is deprecated and will be removed in Rails 5.2. (called from <top (required)> at /Users/eisuke-oishi/work/kuroko2_oss/spec/dummy/config/initializers/new_framework_defaults.rb:23)
7299
+  (0.3ms) SET NAMES utf8mb4 COLLATE utf8mb4_general_ci, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483
7300
+  (2.0ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC
7301
+  (1.8ms) SELECT `ar_internal_metadata`.`value` FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'environment'
7302
+  (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC
7303
+  (0.2ms) SELECT `ar_internal_metadata`.`value` FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'environment'
7304
+  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC
7305
+  (0.2ms) SELECT `ar_internal_metadata`.`value` FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'environment'
7306
+  (0.2ms) SET NAMES utf8mb4 COLLATE utf8mb4_general_ci, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483
7307
+  (269.0ms) DROP DATABASE IF EXISTS `kuroko2_dummy_development`
7308
+  (0.3ms) SET NAMES utf8mb4 COLLATE utf8mb4_general_ci, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483
7309
+  (73.5ms) DROP DATABASE IF EXISTS `kuroko2_dummy_test`
7310
+  (0.2ms) SET NAMES utf8mb4 COLLATE utf8mb4_general_ci, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483
7311
+  (0.5ms) CREATE DATABASE `kuroko2_dummy_development` DEFAULT CHARACTER SET `utf8mb4` COLLATE `utf8mb4_general_ci`
7312
+  (0.2ms) SET NAMES utf8mb4 COLLATE utf8mb4_general_ci, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483
7313
+  (0.7ms) CREATE DATABASE `kuroko2_dummy_test` DEFAULT CHARACTER SET `utf8mb4` COLLATE `utf8mb4_general_ci`
7314
+  (0.2ms) SET NAMES utf8mb4 COLLATE utf8mb4_general_ci, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483
7315
+  (0.2ms) DROP TABLE IF EXISTS `admin_assignments` CASCADE
7316
+  (9.6ms) CREATE TABLE `admin_assignments` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `user_id` int NOT NULL, `job_definition_id` int NOT NULL, `created_at` datetime, `updated_at` datetime, UNIQUE INDEX `user_id` (`user_id`, `job_definition_id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
7317
+  (0.2ms) DROP TABLE IF EXISTS `execution_histories` CASCADE
7318
+  (9.2ms) CREATE TABLE `execution_histories` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `hostname` varchar(180), `worker_id` tinyint, `queue` varchar(180) DEFAULT '@default' NOT NULL, `job_definition_id` int NOT NULL, `job_instance_id` int NOT NULL, `shell` text NOT NULL, `started_at` datetime NOT NULL, `finished_at` datetime NOT NULL, INDEX `index_kuroko2_execution_histories_on_worker_id_and_started_at` (`worker_id`, `started_at`)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
7319
+  (0.3ms) DROP TABLE IF EXISTS `executions` CASCADE
7320
+  (9.3ms) CREATE TABLE `executions` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `uuid` varchar(36) NOT NULL, `job_definition_id` int, `job_definition_version` int, `job_instance_id` int, `token_id` int, `queue` varchar(180) DEFAULT '@default' NOT NULL, `shell` text NOT NULL, `context` text NOT NULL, `pid` int, `output` longtext, `exit_status` smallint, `term_signal` tinyint, `started_at` datetime, `finished_at` datetime, `mailed_at` datetime, `created_at` datetime, `updated_at` datetime, `hostname` varchar(180), `worker_id` tinyint, UNIQUE INDEX `index_kuroko2_executions_on_job_definition_id_and_token_id` (`job_definition_id`, `token_id`), INDEX `started_at` (`started_at`)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
7321
+  (0.2ms) DROP TABLE IF EXISTS `job_definition_tags` CASCADE
7322
+  (9.5ms) CREATE TABLE `job_definition_tags` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `job_definition_id` int NOT NULL, `tag_id` int NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, UNIQUE INDEX `kuroko2_definition_tag_idx` (`job_definition_id`, `tag_id`), INDEX `job_definition_tags_tag_id` (`tag_id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
7323
+  (0.2ms) DROP TABLE IF EXISTS `job_definitions` CASCADE
7324
+  (9.2ms) CREATE TABLE `job_definitions` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `version` int DEFAULT 0 NOT NULL, `name` varchar(180) NOT NULL, `description` text NOT NULL, `script` text NOT NULL, `suspended` tinyint(1) DEFAULT 0 NOT NULL, `prevent_multi` int DEFAULT 1 NOT NULL, `notify_cancellation` tinyint(1) DEFAULT 1 NOT NULL, `hipchat_room` varchar(180) DEFAULT '' NOT NULL, `hipchat_notify_finished` tinyint(1) DEFAULT 1 NOT NULL, `hipchat_additional_text` varchar(180), `slack_channel` varchar(180) DEFAULT '' NOT NULL, `api_allowed` tinyint(1) DEFAULT 0 NOT NULL, `created_at` datetime, `updated_at` datetime, `webhook_url` text, INDEX `name` (`name`)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
7325
+  (0.2ms) DROP TABLE IF EXISTS `job_instances` CASCADE
7326
+  (9.4ms) CREATE TABLE `job_instances` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `job_definition_id` int, `job_definition_version` int, `script` text, `finished_at` datetime, `canceled_at` datetime, `error_at` datetime, `created_at` datetime, `updated_at` datetime, `retrying` tinyint(1) DEFAULT 0 NOT NULL, INDEX `job_instance_idx` (`finished_at`, `canceled_at`, `job_definition_id`), INDEX `index_kuroko2_job_instances_on_job_definition_id` (`job_definition_id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
7327
+  (0.2ms) DROP TABLE IF EXISTS `job_schedules` CASCADE
7328
+  (8.4ms) CREATE TABLE `job_schedules` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `job_definition_id` int, `cron` varchar(180), `created_at` datetime, `updated_at` datetime, UNIQUE INDEX `kuroko2_schedules_definition_id_cron_idx` (`job_definition_id`, `cron`)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
7329
+  (0.3ms) DROP TABLE IF EXISTS `job_suspend_schedules` CASCADE
7330
+  (9.8ms) CREATE TABLE `job_suspend_schedules` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `job_definition_id` int, `cron` varchar(180), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, UNIQUE INDEX `kuroko2_suspend_schedules_definition_id_cron_idx` (`job_definition_id`, `cron`)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
7331
+  (0.4ms) DROP TABLE IF EXISTS `logs` CASCADE
7332
+  (12.5ms) CREATE TABLE `logs` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `job_instance_id` int, `level` varchar(10), `message` longtext, `created_at` datetime, `updated_at` datetime, INDEX `job_instance_id` (`job_instance_id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
7333
+  (0.2ms) DROP TABLE IF EXISTS `memory_consumption_logs` CASCADE
7334
+  (7.1ms) CREATE TABLE `memory_consumption_logs` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `job_instance_id` int, `value` int NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, INDEX `index_kuroko2_memory_consumption_logs_on_job_instance_id` (`job_instance_id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
7335
+  (0.2ms) DROP TABLE IF EXISTS `memory_expectancies` CASCADE
7336
+  (8.4ms) CREATE TABLE `memory_expectancies` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `expected_value` int DEFAULT 0 NOT NULL, `job_definition_id` int, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, INDEX `index_kuroko2_memory_expectancies_on_job_definition_id` (`job_definition_id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
7337
+  (0.3ms) DROP TABLE IF EXISTS `process_signals` CASCADE
7338
+  (12.0ms) CREATE TABLE `process_signals` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `hostname` varchar(180) DEFAULT '' NOT NULL, `pid` int NOT NULL, `number` tinyint DEFAULT 15 NOT NULL, `started_at` datetime, `created_at` datetime, `updated_at` datetime, `message` text, `execution_id` int, INDEX `index_kuroko2_process_signals_on_execution_id` (`execution_id`), INDEX `hostname_started_at` (`hostname`, `started_at`)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
7339
+  (0.3ms) DROP TABLE IF EXISTS `stars` CASCADE
7340
+  (10.2ms) CREATE TABLE `stars` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `user_id` int NOT NULL, `job_definition_id` int NOT NULL, `created_at` datetime, `updated_at` datetime, UNIQUE INDEX `index_kuroko2_stars_on_user_id_and_job_definition_id` (`user_id`, `job_definition_id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
7341
+  (0.2ms) DROP TABLE IF EXISTS `tags` CASCADE
7342
+  (9.9ms) CREATE TABLE `tags` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `name` varchar(100) NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, UNIQUE INDEX `index_kuroko2_tags_on_name` (`name`)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
7343
+  (0.2ms) DROP TABLE IF EXISTS `ticks` CASCADE
7344
+  (9.3ms) CREATE TABLE `ticks` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `at` datetime) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
7345
+  (0.2ms) DROP TABLE IF EXISTS `tokens` CASCADE
7346
+  (8.3ms) CREATE TABLE `tokens` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `uuid` varchar(36) NOT NULL, `job_definition_id` int, `job_definition_version` int, `job_instance_id` int, `parent_id` int, `script` text NOT NULL, `path` varchar(180) DEFAULT '/' NOT NULL, `status` int DEFAULT 0 NOT NULL, `message` text NOT NULL, `context` text NOT NULL, `created_at` datetime, `updated_at` datetime, INDEX `parent_id` (`parent_id`), INDEX `status` (`status`)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
7347
+  (0.2ms) DROP TABLE IF EXISTS `users` CASCADE
7348
+  (8.7ms) CREATE TABLE `users` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `provider` varchar(180) DEFAULT 'google_oauth2' NOT NULL, `uid` varchar(180) NOT NULL, `name` varchar(180) DEFAULT '' NOT NULL, `email` varchar(180) NOT NULL, `first_name` varchar(180) DEFAULT '' NOT NULL, `last_name` varchar(180) DEFAULT '' NOT NULL, `image` varchar(180) DEFAULT '' NOT NULL, `suspended_at` datetime, `created_at` datetime, `updated_at` datetime, INDEX `email` (`email`), INDEX `uid_2` (`uid`, `suspended_at`), UNIQUE INDEX `uid` (`uid`)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
7349
+  (0.2ms) DROP TABLE IF EXISTS `workers` CASCADE
7350
+  (9.8ms) CREATE TABLE `workers` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `hostname` varchar(180) NOT NULL, `worker_id` tinyint NOT NULL, `queue` varchar(180) DEFAULT '@default' NOT NULL, `working` tinyint(1) DEFAULT 0 NOT NULL, `execution_id` int, `suspendable` tinyint(1) DEFAULT 0 NOT NULL, `suspended` tinyint(1) DEFAULT 0 NOT NULL, `created_at` datetime, `updated_at` datetime, UNIQUE INDEX `hostname` (`hostname`, `worker_id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
7351
+  (8.6ms) CREATE TABLE `schema_migrations` (`version` varchar(255) COLLATE utf8_general_ci NOT NULL PRIMARY KEY) ENGINE=InnoDB
7352
+  (0.7ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC
7353
+  (0.4ms) INSERT INTO `schema_migrations` (version) VALUES (31)
7354
+  (0.4ms) INSERT INTO `schema_migrations` (version) VALUES
7355
+ (1),
7356
+ (2),
7357
+ (3),
7358
+ (4),
7359
+ (5),
7360
+ (6),
7361
+ (7),
7362
+ (8),
7363
+ (9),
7364
+ (10),
7365
+ (11),
7366
+ (12),
7367
+ (18),
7368
+ (19),
7369
+ (21),
7370
+ (25),
7371
+ (26),
7372
+ (27),
7373
+ (28),
7374
+ (29),
7375
+ (30);
7376
+
7377
+ 
7378
+  (10.7ms) CREATE TABLE `ar_internal_metadata` (`key` varchar(255) COLLATE utf8_general_ci NOT NULL PRIMARY KEY, `value` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
7379
+ ActiveRecord::InternalMetadata Load (0.5ms) SELECT `ar_internal_metadata`.* FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'environment' LIMIT 1
7380
+  (0.5ms) BEGIN
7381
+ SQL (0.3ms) INSERT INTO `ar_internal_metadata` (`key`, `value`, `created_at`, `updated_at`) VALUES ('environment', 'development', '2018-03-08 10:03:40', '2018-03-08 10:03:40')
7382
+  (0.5ms) COMMIT
7383
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT `ar_internal_metadata`.* FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'environment' LIMIT 1
7384
+  (0.2ms) BEGIN
7385
+  (0.2ms) COMMIT
7386
+  (0.2ms) SET NAMES utf8mb4 COLLATE utf8mb4_general_ci, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483
7387
+  (0.2ms) DROP TABLE IF EXISTS `admin_assignments` CASCADE
7388
+  (9.8ms) CREATE TABLE `admin_assignments` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `user_id` int NOT NULL, `job_definition_id` int NOT NULL, `created_at` datetime, `updated_at` datetime, UNIQUE INDEX `user_id` (`user_id`, `job_definition_id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
7389
+  (1.8ms) DROP TABLE IF EXISTS `execution_histories` CASCADE
7390
+  (12.1ms) CREATE TABLE `execution_histories` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `hostname` varchar(180), `worker_id` tinyint, `queue` varchar(180) DEFAULT '@default' NOT NULL, `job_definition_id` int NOT NULL, `job_instance_id` int NOT NULL, `shell` text NOT NULL, `started_at` datetime NOT NULL, `finished_at` datetime NOT NULL, INDEX `index_kuroko2_execution_histories_on_worker_id_and_started_at` (`worker_id`, `started_at`)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
7391
+  (0.2ms) DROP TABLE IF EXISTS `executions` CASCADE
7392
+  (8.4ms) CREATE TABLE `executions` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `uuid` varchar(36) NOT NULL, `job_definition_id` int, `job_definition_version` int, `job_instance_id` int, `token_id` int, `queue` varchar(180) DEFAULT '@default' NOT NULL, `shell` text NOT NULL, `context` text NOT NULL, `pid` int, `output` longtext, `exit_status` smallint, `term_signal` tinyint, `started_at` datetime, `finished_at` datetime, `mailed_at` datetime, `created_at` datetime, `updated_at` datetime, `hostname` varchar(180), `worker_id` tinyint, UNIQUE INDEX `index_kuroko2_executions_on_job_definition_id_and_token_id` (`job_definition_id`, `token_id`), INDEX `started_at` (`started_at`)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
7393
+  (0.5ms) DROP TABLE IF EXISTS `job_definition_tags` CASCADE
7394
+  (7.7ms) CREATE TABLE `job_definition_tags` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `job_definition_id` int NOT NULL, `tag_id` int NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, UNIQUE INDEX `kuroko2_definition_tag_idx` (`job_definition_id`, `tag_id`), INDEX `job_definition_tags_tag_id` (`tag_id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
7395
+  (0.3ms) DROP TABLE IF EXISTS `job_definitions` CASCADE
7396
+  (10.4ms) CREATE TABLE `job_definitions` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `version` int DEFAULT 0 NOT NULL, `name` varchar(180) NOT NULL, `description` text NOT NULL, `script` text NOT NULL, `suspended` tinyint(1) DEFAULT 0 NOT NULL, `prevent_multi` int DEFAULT 1 NOT NULL, `notify_cancellation` tinyint(1) DEFAULT 1 NOT NULL, `hipchat_room` varchar(180) DEFAULT '' NOT NULL, `hipchat_notify_finished` tinyint(1) DEFAULT 1 NOT NULL, `hipchat_additional_text` varchar(180), `slack_channel` varchar(180) DEFAULT '' NOT NULL, `api_allowed` tinyint(1) DEFAULT 0 NOT NULL, `created_at` datetime, `updated_at` datetime, `webhook_url` text, INDEX `name` (`name`)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
7397
+  (0.2ms) DROP TABLE IF EXISTS `job_instances` CASCADE
7398
+  (9.2ms) CREATE TABLE `job_instances` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `job_definition_id` int, `job_definition_version` int, `script` text, `finished_at` datetime, `canceled_at` datetime, `error_at` datetime, `created_at` datetime, `updated_at` datetime, `retrying` tinyint(1) DEFAULT 0 NOT NULL, INDEX `job_instance_idx` (`finished_at`, `canceled_at`, `job_definition_id`), INDEX `index_kuroko2_job_instances_on_job_definition_id` (`job_definition_id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
7399
+  (0.4ms) DROP TABLE IF EXISTS `job_schedules` CASCADE
7400
+  (9.3ms) CREATE TABLE `job_schedules` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `job_definition_id` int, `cron` varchar(180), `created_at` datetime, `updated_at` datetime, UNIQUE INDEX `kuroko2_schedules_definition_id_cron_idx` (`job_definition_id`, `cron`)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
7401
+  (0.3ms) DROP TABLE IF EXISTS `job_suspend_schedules` CASCADE
7402
+  (9.5ms) CREATE TABLE `job_suspend_schedules` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `job_definition_id` int, `cron` varchar(180), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, UNIQUE INDEX `kuroko2_suspend_schedules_definition_id_cron_idx` (`job_definition_id`, `cron`)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
7403
+  (0.2ms) DROP TABLE IF EXISTS `logs` CASCADE
7404
+  (9.1ms) CREATE TABLE `logs` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `job_instance_id` int, `level` varchar(10), `message` longtext, `created_at` datetime, `updated_at` datetime, INDEX `job_instance_id` (`job_instance_id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
7405
+  (0.2ms) DROP TABLE IF EXISTS `memory_consumption_logs` CASCADE
7406
+  (11.4ms) CREATE TABLE `memory_consumption_logs` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `job_instance_id` int, `value` int NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, INDEX `index_kuroko2_memory_consumption_logs_on_job_instance_id` (`job_instance_id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
7407
+  (0.2ms) DROP TABLE IF EXISTS `memory_expectancies` CASCADE
7408
+  (8.3ms) CREATE TABLE `memory_expectancies` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `expected_value` int DEFAULT 0 NOT NULL, `job_definition_id` int, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, INDEX `index_kuroko2_memory_expectancies_on_job_definition_id` (`job_definition_id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
7409
+  (0.2ms) DROP TABLE IF EXISTS `process_signals` CASCADE
7410
+  (8.1ms) CREATE TABLE `process_signals` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `hostname` varchar(180) DEFAULT '' NOT NULL, `pid` int NOT NULL, `number` tinyint DEFAULT 15 NOT NULL, `started_at` datetime, `created_at` datetime, `updated_at` datetime, `message` text, `execution_id` int, INDEX `index_kuroko2_process_signals_on_execution_id` (`execution_id`), INDEX `hostname_started_at` (`hostname`, `started_at`)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
7411
+  (0.2ms) DROP TABLE IF EXISTS `stars` CASCADE
7412
+  (11.0ms) CREATE TABLE `stars` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `user_id` int NOT NULL, `job_definition_id` int NOT NULL, `created_at` datetime, `updated_at` datetime, UNIQUE INDEX `index_kuroko2_stars_on_user_id_and_job_definition_id` (`user_id`, `job_definition_id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
7413
+  (0.2ms) DROP TABLE IF EXISTS `tags` CASCADE
7414
+  (9.3ms) CREATE TABLE `tags` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `name` varchar(100) NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, UNIQUE INDEX `index_kuroko2_tags_on_name` (`name`)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
7415
+  (0.2ms) DROP TABLE IF EXISTS `ticks` CASCADE
7416
+  (9.9ms) CREATE TABLE `ticks` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `at` datetime) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
7417
+  (0.6ms) DROP TABLE IF EXISTS `tokens` CASCADE
7418
+  (11.4ms) CREATE TABLE `tokens` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `uuid` varchar(36) NOT NULL, `job_definition_id` int, `job_definition_version` int, `job_instance_id` int, `parent_id` int, `script` text NOT NULL, `path` varchar(180) DEFAULT '/' NOT NULL, `status` int DEFAULT 0 NOT NULL, `message` text NOT NULL, `context` text NOT NULL, `created_at` datetime, `updated_at` datetime, INDEX `parent_id` (`parent_id`), INDEX `status` (`status`)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
7419
+  (0.2ms) DROP TABLE IF EXISTS `users` CASCADE
7420
+  (13.3ms) CREATE TABLE `users` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `provider` varchar(180) DEFAULT 'google_oauth2' NOT NULL, `uid` varchar(180) NOT NULL, `name` varchar(180) DEFAULT '' NOT NULL, `email` varchar(180) NOT NULL, `first_name` varchar(180) DEFAULT '' NOT NULL, `last_name` varchar(180) DEFAULT '' NOT NULL, `image` varchar(180) DEFAULT '' NOT NULL, `suspended_at` datetime, `created_at` datetime, `updated_at` datetime, INDEX `email` (`email`), INDEX `uid_2` (`uid`, `suspended_at`), UNIQUE INDEX `uid` (`uid`)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
7421
+  (0.2ms) DROP TABLE IF EXISTS `workers` CASCADE
7422
+  (9.4ms) CREATE TABLE `workers` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `hostname` varchar(180) NOT NULL, `worker_id` tinyint NOT NULL, `queue` varchar(180) DEFAULT '@default' NOT NULL, `working` tinyint(1) DEFAULT 0 NOT NULL, `execution_id` int, `suspendable` tinyint(1) DEFAULT 0 NOT NULL, `suspended` tinyint(1) DEFAULT 0 NOT NULL, `created_at` datetime, `updated_at` datetime, UNIQUE INDEX `hostname` (`hostname`, `worker_id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
7423
+  (9.0ms) CREATE TABLE `schema_migrations` (`version` varchar(255) COLLATE utf8_general_ci NOT NULL PRIMARY KEY) ENGINE=InnoDB
7424
+  (0.5ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC
7425
+  (0.4ms) INSERT INTO `schema_migrations` (version) VALUES (31)
7426
+  (1.7ms) INSERT INTO `schema_migrations` (version) VALUES
7427
+ (1),
7428
+ (2),
7429
+ (3),
7430
+ (4),
7431
+ (5),
7432
+ (6),
7433
+ (7),
7434
+ (8),
7435
+ (9),
7436
+ (10),
7437
+ (11),
7438
+ (12),
7439
+ (18),
7440
+ (19),
7441
+ (21),
7442
+ (25),
7443
+ (26),
7444
+ (27),
7445
+ (28),
7446
+ (29),
7447
+ (30);
7448
+
7449
+ 
7450
+  (14.9ms) CREATE TABLE `ar_internal_metadata` (`key` varchar(255) COLLATE utf8_general_ci NOT NULL PRIMARY KEY, `value` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
7451
+ ActiveRecord::InternalMetadata Load (1.0ms) SELECT `ar_internal_metadata`.* FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'environment' LIMIT 1
7452
+  (0.2ms) BEGIN
7453
+ SQL (0.4ms) INSERT INTO `ar_internal_metadata` (`key`, `value`, `created_at`, `updated_at`) VALUES ('environment', 'development', '2018-03-08 10:03:40', '2018-03-08 10:03:40')
7454
+  (0.4ms) COMMIT
7455
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT `ar_internal_metadata`.* FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'environment' LIMIT 1
7456
+  (0.1ms) BEGIN
7457
+  (0.1ms) COMMIT
7458
+  (0.2ms) SET NAMES utf8mb4 COLLATE utf8mb4_general_ci, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483
7459
+  (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC
7460
+ DEPRECATION WARNING: ActiveSupport.halt_callback_chains_on_return_false= is deprecated and will be removed in Rails 5.2. (called from <top (required)> at /Users/eisuke-oishi/work/kuroko2_oss/spec/dummy/config/initializers/new_framework_defaults.rb:23)
7461
+  (0.4ms) SET NAMES utf8mb4 COLLATE utf8mb4_general_ci, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483
7462
+  (12.4ms) CREATE TABLE `kuroko2_schema_migrations` (`version` varchar(255) COLLATE utf8_general_ci NOT NULL PRIMARY KEY) ENGINE=InnoDB
7463
+  (10.3ms) CREATE TABLE `kuroko2_ar_internal_metadata` (`key` varchar(255) COLLATE utf8_general_ci NOT NULL PRIMARY KEY, `value` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
7464
+  (0.3ms) SELECT DATABASE() as db
7465
+  (0.3ms) SELECT GET_LOCK(4015707761482352670, 0)
7466
+  (0.3ms) SELECT `kuroko2_schema_migrations`.`version` FROM `kuroko2_schema_migrations` ORDER BY `kuroko2_schema_migrations`.`version` ASC
7467
+ Migrating to CreateJobDefinitions (1)
7468
+  (15.2ms) CREATE TABLE `kuroko2_job_definitions` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `version` int DEFAULT 0 NOT NULL, `name` varchar(180) NOT NULL, `description` text NOT NULL, `script` text NOT NULL, `suspended` tinyint(1) DEFAULT 0 NOT NULL, `prevent_multi` int DEFAULT 1 NOT NULL, `notify_cancellation` tinyint(1) DEFAULT 1 NOT NULL, `hipchat_room` varchar(180) DEFAULT '' NOT NULL, `hipchat_notify_finished` tinyint(1) DEFAULT 1 NOT NULL, `hipchat_additional_text` varchar(180), `slack_channel` varchar(180) DEFAULT '' NOT NULL, `api_allowed` tinyint(1) DEFAULT 0 NOT NULL, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB
7469
+  (11.6ms) CREATE INDEX `name` USING btree ON `kuroko2_job_definitions` (`name`) 
7470
+  (0.2ms) BEGIN
7471
+ SQL (0.2ms) INSERT INTO `kuroko2_schema_migrations` (`version`) VALUES ('1')
7472
+  (0.3ms) COMMIT
7473
+ Migrating to CreateJobInstances (2)
7474
+  (9.6ms) CREATE TABLE `kuroko2_job_instances` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `job_definition_id` int, `job_definition_version` int, `script` text, `finished_at` datetime, `canceled_at` datetime, `error_at` datetime, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB
7475
+  (14.2ms) CREATE INDEX `job_instance_idx` USING btree ON `kuroko2_job_instances` (`finished_at`, `canceled_at`, `job_definition_id`) 
7476
+  (13.0ms) CREATE INDEX `index_kuroko2_job_instances_on_job_definition_id` USING btree ON `kuroko2_job_instances` (`job_definition_id`) 
7477
+  (0.1ms) BEGIN
7478
+ SQL (0.2ms) INSERT INTO `kuroko2_schema_migrations` (`version`) VALUES ('2')
7479
+  (0.4ms) COMMIT
7480
+ Migrating to CreateJobSchedules (3)
7481
+  (13.9ms) CREATE TABLE `kuroko2_job_schedules` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `job_definition_id` int, `cron` varchar(180), `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB
7482
+  (11.4ms) CREATE UNIQUE INDEX `kuroko2_schedules_definition_id_cron_idx` USING btree ON `kuroko2_job_schedules` (`job_definition_id`, `cron`) 
7483
+  (0.2ms) BEGIN
7484
+ SQL (0.2ms) INSERT INTO `kuroko2_schema_migrations` (`version`) VALUES ('3')
7485
+  (0.3ms) COMMIT
7486
+ Migrating to CreateTicks (4)
7487
+  (13.1ms) CREATE TABLE `kuroko2_ticks` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `at` datetime) ENGINE=InnoDB
7488
+  (0.2ms) BEGIN
7489
+ SQL (0.2ms) INSERT INTO `kuroko2_schema_migrations` (`version`) VALUES ('4')
7490
+  (0.3ms) COMMIT
7491
+ Migrating to CreateLogs (5)
7492
+  (7.1ms) CREATE TABLE `kuroko2_logs` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `job_instance_id` int, `level` varchar(10), `message` longtext, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB
7493
+  (12.3ms) CREATE INDEX `job_instance_id` USING btree ON `kuroko2_logs` (`job_instance_id`) 
7494
+  (0.2ms) BEGIN
7495
+ SQL (0.3ms) INSERT INTO `kuroko2_schema_migrations` (`version`) VALUES ('5')
7496
+  (0.3ms) COMMIT
7497
+ Migrating to CreateTokens (6)
7498
+  (12.0ms) CREATE TABLE `kuroko2_tokens` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `uuid` varchar(36) NOT NULL, `job_definition_id` int, `job_definition_version` int, `job_instance_id` int, `parent_id` int, `script` text NOT NULL, `path` varchar(180) DEFAULT '/' NOT NULL, `status` int DEFAULT 0 NOT NULL, `message` text NOT NULL, `context` text NOT NULL, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB
7499
+  (12.2ms) CREATE INDEX `parent_id` USING btree ON `kuroko2_tokens` (`parent_id`) 
7500
+  (14.6ms) CREATE INDEX `status` USING btree ON `kuroko2_tokens` (`status`) 
7501
+  (0.2ms) BEGIN
7502
+ SQL (0.2ms) INSERT INTO `kuroko2_schema_migrations` (`version`) VALUES ('6')
7503
+  (0.3ms) COMMIT
7504
+ Migrating to CreateExecutions (7)
7505
+  (9.9ms) CREATE TABLE `kuroko2_executions` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `uuid` varchar(36) NOT NULL, `job_definition_id` int, `job_definition_version` int, `job_instance_id` int, `token_id` int, `queue` varchar(180) DEFAULT '@default' NOT NULL, `shell` text NOT NULL, `context` text NOT NULL, `pid` int, `output` longtext, `exit_status` tinyint, `term_signal` tinyint, `started_at` datetime, `finished_at` datetime, `mailed_at` datetime, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB
7506
+  (11.8ms) CREATE UNIQUE INDEX `index_kuroko2_executions_on_job_definition_id_and_token_id` USING btree ON `kuroko2_executions` (`job_definition_id`, `token_id`) 
7507
+  (14.0ms) CREATE INDEX `started_at` USING btree ON `kuroko2_executions` (`started_at`) 
7508
+  (0.2ms) BEGIN
7509
+ SQL (0.2ms) INSERT INTO `kuroko2_schema_migrations` (`version`) VALUES ('7')
7510
+  (0.4ms) COMMIT
7511
+ Migrating to CreateProcessSignals (8)
7512
+  (10.1ms) CREATE TABLE `kuroko2_process_signals` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `hostname` varchar(180) DEFAULT '' NOT NULL, `pid` int NOT NULL, `number` tinyint DEFAULT 15 NOT NULL, `started_at` datetime, `created_at` datetime, `updated_at` datetime, `message` text) ENGINE=InnoDB
7513
+  (14.0ms) CREATE INDEX `hostname_started_at` USING btree ON `kuroko2_process_signals` (`hostname`, `started_at`) 
7514
+  (0.2ms) BEGIN
7515
+ SQL (0.4ms) INSERT INTO `kuroko2_schema_migrations` (`version`) VALUES ('8')
7516
+  (0.4ms) COMMIT
7517
+ Migrating to CreateUsers (9)
7518
+  (12.0ms) CREATE TABLE `kuroko2_users` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `provider` varchar(180) DEFAULT 'google_oauth2' NOT NULL, `uid` varchar(180) NOT NULL, `name` varchar(180) DEFAULT '' NOT NULL, `email` varchar(180) NOT NULL, `first_name` varchar(180) DEFAULT '' NOT NULL, `last_name` varchar(180) DEFAULT '' NOT NULL, `image` varchar(180) DEFAULT '' NOT NULL, `suspended_at` datetime, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB
7519
+  (10.3ms) CREATE UNIQUE INDEX `email` USING btree ON `kuroko2_users` (`email`) 
7520
+  (17.2ms) CREATE INDEX `uid_2` USING btree ON `kuroko2_users` (`uid`, `suspended_at`) 
7521
+  (13.9ms) CREATE UNIQUE INDEX `uid` USING btree ON `kuroko2_users` (`uid`) 
7522
+  (0.2ms) BEGIN
7523
+ SQL (0.2ms) INSERT INTO `kuroko2_schema_migrations` (`version`) VALUES ('9')
7524
+  (0.4ms) COMMIT
7525
+ Migrating to CreateAdminAssignments (10)
7526
+  (14.2ms) CREATE TABLE `kuroko2_admin_assignments` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `user_id` int NOT NULL, `job_definition_id` int NOT NULL, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB
7527
+  (11.6ms) CREATE UNIQUE INDEX `user_id` USING btree ON `kuroko2_admin_assignments` (`user_id`, `job_definition_id`) 
7528
+  (0.1ms) BEGIN
7529
+ SQL (0.1ms) INSERT INTO `kuroko2_schema_migrations` (`version`) VALUES ('10')
7530
+  (0.2ms) COMMIT
7531
+ Migrating to CreateStars (11)
7532
+  (10.7ms) CREATE TABLE `kuroko2_stars` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `user_id` int NOT NULL, `job_definition_id` int NOT NULL, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB
7533
+  (13.9ms) CREATE UNIQUE INDEX `index_kuroko2_stars_on_user_id_and_job_definition_id` USING btree ON `kuroko2_stars` (`user_id`, `job_definition_id`) 
7534
+  (0.2ms) BEGIN
7535
+ SQL (0.4ms) INSERT INTO `kuroko2_schema_migrations` (`version`) VALUES ('11')
7536
+  (0.4ms) COMMIT
7537
+ Migrating to CreateWorkers (12)
7538
+  (13.8ms) CREATE TABLE `kuroko2_workers` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `hostname` varchar(180) NOT NULL, `worker_id` tinyint NOT NULL, `queue` varchar(180) DEFAULT '@default' NOT NULL, `working` tinyint(1) DEFAULT 0 NOT NULL, `execution_id` int, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB
7539
+  (13.0ms) CREATE UNIQUE INDEX `hostname` USING btree ON `kuroko2_workers` (`hostname`, `worker_id`) 
7540
+  (0.2ms) BEGIN
7541
+ SQL (0.2ms) INSERT INTO `kuroko2_schema_migrations` (`version`) VALUES ('12')
7542
+  (0.2ms) COMMIT
7543
+ Migrating to CreateJobDefinitionTags (18)
7544
+  (10.9ms) CREATE TABLE `kuroko2_job_definition_tags` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `job_definition_id` int NOT NULL, `tag_id` int NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
7545
+  (13.7ms) CREATE UNIQUE INDEX `kuroko2_definition_tag_idx` USING btree ON `kuroko2_job_definition_tags` (`job_definition_id`, `tag_id`) 
7546
+  (15.5ms) CREATE INDEX `job_definition_tags_tag_id` USING btree ON `kuroko2_job_definition_tags` (`tag_id`) 
7547
+  (0.2ms) BEGIN
7548
+ SQL (0.2ms) INSERT INTO `kuroko2_schema_migrations` (`version`) VALUES ('18')
7549
+  (0.3ms) COMMIT
7550
+ Migrating to CreateTags (19)
7551
+  (8.2ms) CREATE TABLE `kuroko2_tags` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `name` varchar(100) NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
7552
+  (10.4ms) CREATE UNIQUE INDEX `index_kuroko2_tags_on_name` USING btree ON `kuroko2_tags` (`name`) 
7553
+  (0.2ms) BEGIN
7554
+ SQL (0.3ms) INSERT INTO `kuroko2_schema_migrations` (`version`) VALUES ('19')
7555
+  (0.4ms) COMMIT
7556
+ Migrating to CreateMemoryExpectancies (21)
7557
+  (10.4ms) CREATE TABLE `kuroko2_memory_expectancies` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `expected_value` int DEFAULT 0 NOT NULL, `job_definition_id` int, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, INDEX `index_kuroko2_memory_expectancies_on_job_definition_id` (`job_definition_id`)) ENGINE=InnoDB
7558
+  (41.0ms) CREATE TABLE `kuroko2_memory_consumption_logs` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `job_instance_id` int, `value` int NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, INDEX `index_kuroko2_memory_consumption_logs_on_job_instance_id` (`job_instance_id`)) ENGINE=InnoDB
7559
+  (0.9ms) BEGIN
7560
+ SQL (0.4ms) INSERT INTO `kuroko2_schema_migrations` (`version`) VALUES ('21')
7561
+  (0.4ms) COMMIT
7562
+ Migrating to CreateJobSuspendSchedules (25)
7563
+  (9.7ms) CREATE TABLE `kuroko2_job_suspend_schedules` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `job_definition_id` int, `cron` varchar(180), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
7564
+  (12.9ms) CREATE UNIQUE INDEX `kuroko2_suspend_schedules_definition_id_cron_idx` USING btree ON `kuroko2_job_suspend_schedules` (`job_definition_id`, `cron`) 
7565
+  (0.2ms) BEGIN
7566
+ SQL (0.2ms) INSERT INTO `kuroko2_schema_migrations` (`version`) VALUES ('25')
7567
+  (0.3ms) COMMIT
7568
+ Migrating to AddWebhookUrlToJobDefinitions (26)
7569
+  (19.8ms) ALTER TABLE `kuroko2_job_definitions` ADD `webhook_url` text
7570
+  (0.1ms) BEGIN
7571
+ SQL (0.2ms) INSERT INTO `kuroko2_schema_migrations` (`version`) VALUES ('26')
7572
+  (0.3ms) COMMIT
7573
+ Migrating to DropUniqConstraintUserEmail (27)
7574
+  (11.2ms) DROP INDEX `email` ON `kuroko2_users`
7575
+  (15.1ms) CREATE INDEX `email` USING btree ON `kuroko2_users` (`email`) 
7576
+  (0.2ms) BEGIN
7577
+ SQL (0.3ms) INSERT INTO `kuroko2_schema_migrations` (`version`) VALUES ('27')
7578
+  (0.4ms) COMMIT
7579
+ Migrating to ChangeExitStatusToUnsignedTinyint (28)
7580
+  (19.7ms) ALTER TABLE `kuroko2_executions` CHANGE `exit_status` `exit_status` smallint DEFAULT NULL
7581
+  (0.2ms) BEGIN
7582
+ SQL (0.2ms) INSERT INTO `kuroko2_schema_migrations` (`version`) VALUES ('28')
7583
+  (0.3ms) COMMIT
7584
+ Migrating to AddExecutionIdToProcessSignals (29)
7585
+  (16.7ms) ALTER TABLE `kuroko2_process_signals` ADD `execution_id` int
7586
+  (13.7ms) CREATE INDEX `index_kuroko2_process_signals_on_execution_id` ON `kuroko2_process_signals` (`execution_id`) 
7587
+  (0.1ms) BEGIN
7588
+ SQL (0.2ms) INSERT INTO `kuroko2_schema_migrations` (`version`) VALUES ('29')
7589
+  (0.2ms) COMMIT
7590
+ Migrating to AddNotifyBackToNormal (30)
7591
+  (19.7ms) ALTER TABLE `kuroko2_job_instances` ADD `retrying` tinyint(1) DEFAULT 0 NOT NULL
7592
+  (0.2ms) BEGIN
7593
+ SQL (0.2ms) INSERT INTO `kuroko2_schema_migrations` (`version`) VALUES ('30')
7594
+  (0.3ms) COMMIT
7595
+ Migrating to AddSuspendedToWorkers (31)
7596
+  (21.2ms) ALTER TABLE `kuroko2_workers` ADD `suspendable` tinyint(1) DEFAULT 0 NOT NULL AFTER `execution_id`
7597
+  (20.6ms) ALTER TABLE `kuroko2_workers` ADD `suspended` tinyint(1) DEFAULT 0 NOT NULL AFTER `suspendable`
7598
+  (0.1ms) BEGIN
7599
+ SQL (0.3ms) INSERT INTO `kuroko2_schema_migrations` (`version`) VALUES ('31')
7600
+  (0.3ms) COMMIT
7601
+ Migrating to CreateExecutionHistories (32)
7602
+  (11.5ms) CREATE TABLE `kuroko2_execution_histories` (`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `hostname` varchar(180), `worker_id` tinyint, `queue` varchar(180) DEFAULT '@default' NOT NULL, `job_definition_id` int NOT NULL, `job_instance_id` int NOT NULL, `shell` text NOT NULL, `started_at` datetime NOT NULL, `finished_at` datetime NOT NULL) ENGINE=InnoDB
7603
+  (23.3ms) ALTER TABLE `kuroko2_executions` ADD `hostname` varchar(180)
7604
+  (52.5ms) ALTER TABLE `kuroko2_executions` ADD `worker_id` tinyint
7605
+  (16.8ms) CREATE INDEX `index_kuroko2_execution_histories_on_worker_id_and_started_at` USING btree ON `kuroko2_execution_histories` (`worker_id`, `started_at`) 
7606
+  (0.2ms) BEGIN
7607
+ SQL (0.2ms) INSERT INTO `kuroko2_schema_migrations` (`version`) VALUES ('32')
7608
+  (0.3ms) COMMIT
7609
+ ActiveRecord::InternalMetadata Load (0.3ms) SELECT `kuroko2_ar_internal_metadata`.* FROM `kuroko2_ar_internal_metadata` WHERE `kuroko2_ar_internal_metadata`.`key` = 'environment' LIMIT 1
7610
+  (0.2ms) BEGIN
7611
+ SQL (0.7ms) INSERT INTO `kuroko2_ar_internal_metadata` (`key`, `value`, `created_at`, `updated_at`) VALUES ('environment', 'development', '2018-03-08 10:03:53', '2018-03-08 10:03:53')
7612
+  (0.8ms) COMMIT
7613
+  (0.3ms) SELECT RELEASE_LOCK(4015707761482352670)
7614
+  (0.2ms) SELECT `kuroko2_schema_migrations`.`version` FROM `kuroko2_schema_migrations` ORDER BY `kuroko2_schema_migrations`.`version` ASC
7615
+  (0.2ms) SHOW CREATE TABLE `admin_assignments`
7616
+  (0.2ms) SHOW CREATE TABLE `execution_histories`
7617
+  (0.3ms) SHOW TABLE STATUS LIKE 'execution_histories'
7618
+  (0.3ms) SHOW CREATE TABLE `executions`
7619
+  (0.3ms) SHOW TABLE STATUS LIKE 'executions'
7620
+  (0.2ms) SHOW CREATE TABLE `job_definition_tags`
7621
+  (0.1ms) SHOW CREATE TABLE `job_definitions`
7622
+  (0.3ms) SHOW TABLE STATUS LIKE 'job_definitions'
7623
+  (0.1ms) SHOW CREATE TABLE `job_instances`
7624
+  (0.3ms) SHOW TABLE STATUS LIKE 'job_instances'
7625
+  (0.1ms) SHOW CREATE TABLE `job_schedules`
7626
+  (0.3ms) SHOW TABLE STATUS LIKE 'job_schedules'
7627
+  (0.2ms) SHOW CREATE TABLE `job_suspend_schedules`
7628
+  (0.3ms) SHOW TABLE STATUS LIKE 'job_suspend_schedules'
7629
+  (0.2ms) SHOW CREATE TABLE `kuroko2_admin_assignments`
7630
+  (0.2ms) SHOW CREATE TABLE `kuroko2_execution_histories`
7631
+  (0.5ms) SHOW TABLE STATUS LIKE 'kuroko2_execution_histories'
7632
+  (0.2ms) SHOW CREATE TABLE `kuroko2_executions`
7633
+  (0.3ms) SHOW TABLE STATUS LIKE 'kuroko2_executions'
7634
+  (0.2ms) SHOW CREATE TABLE `kuroko2_job_definition_tags`
7635
+  (0.3ms) SHOW CREATE TABLE `kuroko2_job_definitions`
7636
+  (0.4ms) SHOW TABLE STATUS LIKE 'kuroko2_job_definitions'
7637
+  (0.2ms) SHOW CREATE TABLE `kuroko2_job_instances`
7638
+  (0.4ms) SHOW TABLE STATUS LIKE 'kuroko2_job_instances'
7639
+  (0.2ms) SHOW CREATE TABLE `kuroko2_job_schedules`
7640
+  (0.4ms) SHOW TABLE STATUS LIKE 'kuroko2_job_schedules'
7641
+  (0.2ms) SHOW CREATE TABLE `kuroko2_job_suspend_schedules`
7642
+  (0.3ms) SHOW TABLE STATUS LIKE 'kuroko2_job_suspend_schedules'
7643
+  (0.2ms) SHOW CREATE TABLE `kuroko2_logs`
7644
+  (0.3ms) SHOW TABLE STATUS LIKE 'kuroko2_logs'
7645
+  (0.2ms) SHOW CREATE TABLE `kuroko2_memory_consumption_logs`
7646
+  (0.2ms) SHOW CREATE TABLE `kuroko2_memory_expectancies`
7647
+  (0.2ms) SHOW CREATE TABLE `kuroko2_process_signals`
7648
+  (0.3ms) SHOW TABLE STATUS LIKE 'kuroko2_process_signals'
7649
+  (0.2ms) SHOW CREATE TABLE `kuroko2_stars`
7650
+  (0.2ms) SHOW CREATE TABLE `kuroko2_tags`
7651
+  (0.4ms) SHOW TABLE STATUS LIKE 'kuroko2_tags'
7652
+  (0.2ms) SHOW CREATE TABLE `kuroko2_ticks`
7653
+  (0.2ms) SHOW CREATE TABLE `kuroko2_tokens`
7654
+  (0.3ms) SHOW TABLE STATUS LIKE 'kuroko2_tokens'
7655
+  (0.2ms) SHOW CREATE TABLE `kuroko2_users`
7656
+  (0.4ms) SHOW TABLE STATUS LIKE 'kuroko2_users'
7657
+  (0.2ms) SHOW CREATE TABLE `kuroko2_workers`
7658
+  (0.3ms) SHOW TABLE STATUS LIKE 'kuroko2_workers'
7659
+  (0.2ms) SHOW CREATE TABLE `logs`
7660
+  (0.4ms) SHOW TABLE STATUS LIKE 'logs'
7661
+  (0.2ms) SHOW CREATE TABLE `memory_consumption_logs`
7662
+  (0.2ms) SHOW CREATE TABLE `memory_expectancies`
7663
+  (0.2ms) SHOW CREATE TABLE `process_signals`
7664
+  (0.3ms) SHOW TABLE STATUS LIKE 'process_signals'
7665
+  (0.2ms) SHOW CREATE TABLE `stars`
7666
+  (0.2ms) SHOW CREATE TABLE `tags`
7667
+  (0.3ms) SHOW TABLE STATUS LIKE 'tags'
7668
+  (0.2ms) SHOW CREATE TABLE `ticks`
7669
+  (0.2ms) SHOW CREATE TABLE `tokens`
7670
+  (0.3ms) SHOW TABLE STATUS LIKE 'tokens'
7671
+  (0.2ms) SHOW CREATE TABLE `users`
7672
+  (0.3ms) SHOW TABLE STATUS LIKE 'users'
7673
+  (0.2ms) SHOW CREATE TABLE `workers`
7674
+  (0.3ms) SHOW TABLE STATUS LIKE 'workers'