added migration for tables