Hi! I want to remove boss_db too. Because when i want to save something to mysql, I should
get_db_id(Id) ->
[_ModuleName, DbIdStr] = string:tokens(Id, "-"),
erlang:list_to_integer(DbIdStr).
And when i select the data from mysql, I should
get_boss_id(Id) when is_integer(Id) ->
lists:concat(["account-", Id]).
There is also a situation, When i change a_table to 10 sharding: a_table_1, a_table_2, a_table_3....
Should i create ten models like a_table_1.erl, a_table_2.erl, a_table_3.erl ...?