migration to fix plan table and form created
added index function
lookup by unique identifier for plans