change form of data base to older version of rails