Mod gem sqlite to pg