use create table sql statement as seed, smarty as tpl to plant codes