Browse Source

init full_name in dml of version 1.2.2 (#2341)

Co-authored-by: dailidong <dailidong66@gmail.com>
pull/3/MERGE
lgcareer 5 years ago committed by gaojun2048
parent
commit
54f04a378e
  1. 4
      sql/upgrade/1.2.2_schema/mysql/dolphinscheduler_dml.sql

4
sql/upgrade/1.2.2_schema/mysql/dolphinscheduler_dml.sql

@ -14,3 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
SET sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));
SET FOREIGN_KEY_CHECKS=0;
UPDATE t_ds_resources SET pid=-1,is_directory=false WHERE pid IS NULL;
UPDATE t_ds_resources SET full_name = concat('/',alias) WHERE pid=-1 and full_name IS NULL;
Loading…
Cancel
Save