(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-fcfabdb2"],{"2cb7":function(t,i,n){},3889:function(t,i,n){},"6a2b":function(t,i,n){"use strict";n("2cb7")},ad60:function(t,i,n){"use strict";n.r(i);var a=function(){var t=this,i=t._self._c;return i("div",{staticClass:"singgle-container"},[i("div",{staticClass:"modern-card"},[i("div",{staticClass:"card-header"},[i("div",{staticClass:"header-content"},[t._m(0),i("div",{staticClass:"header-text"},[i("h3",[t._v(t._s(t.$t("migration.title")))]),i("p",[t._v(t._s(t.$t("migration.description")))])])])]),i("div",{staticClass:"card-body"},[i("div",{staticClass:"action-section-center"},[i("el-button",{staticClass:"save-button",attrs:{type:"primary",loading:t.loading},on:{click:t.runMigrations}},[i("i",{staticClass:"el-icon-upload2"}),t._v(" "+t._s(t.$t("migration.button_run"))+" ")])],1)])])])},s=[function(){var t=this,i=t._self._c;return i("div",{staticClass:"header-icon"},[i("i",{staticClass:"el-icon-warning-outline"})])}],o=n("0d5e"),e=(n("3889"),{data:function(){return{listLoading:!0,loading:!1}},methods:{runMigrations:function(){var t=this;this.loading=!0,o["a"].post("/migrations").then((function(i){t.loading=!1,t.$alert(t.$t("migration.msg_success"),t.$t("migration.title_success"),{confirmButtonText:t.$t("migration.btn_ok"),type:"success",callback:function(){t.$router.push("/dashboard")}})})).catch((function(i){t.loading=!1;var n=i.response&&i.response.data&&i.response.data.message||t.$t("migration.msg_server_error");t.$alert(n,t.$t("migration.title_warning"),{confirmButtonText:t.$t("migration.btn_ok"),type:"warning"})}))}}}),r=e,c=(n("6a2b"),n("2877")),d=Object(c["a"])(r,a,s,!1,null,"d1704818",null);i["default"]=d.exports}}]);