지금 현장은 새로 만드는 기능은 마이크로서비스로 구현하려고 하고 있다. 안드로이드 어플과 그외 관리서비스에서 쓸 마스터데이터까지 마이크로서비스로 만들어서 JSON으로 넘겨주란다. 이렇게 하면 어플을 업데이트 하지 않아도 초기치나 표시되는 라벨등등을 변경할 수 있다. 그래서 데이터 샘플을 보는데...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
샘플 데이터를 보기 전에는 마스터데이터니까 그냥 key:value만일거라고 믿었었는데, action_list처럼 init의 값이 오브젝트이고 image_path는 리스트이다. 게다가 앞으로 어떤 구조의 데이터를 넣을지도 모르는 상황. 그래서 테이블을 나누고 필요한 컬럼을 추가해서 아래와 같은 테이블 구조를 만들었다.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters