I have 2 tables (1-n relationship, "Keyword" has many "KeywordData") and they are spilt by YYYYMM. They are in the same database.
Example, Jan 2014 records are in keyword_201401 & keyword_data_201401. Feb 2014 records in keyword_201402 & keyword_data_201402
How do I define the table name in the models so that the values are write/read from the correct _YYYYMM tables?
keyword_201401 (keyword_id, keyword, date) keyword_data_201401 (data_id, keyword_id, source)
keyword_201402 (keyword_id, keyword, date) keyword_data_201402 (data_id, keyword_id, source)