You can see the (default) mapping in the second tab of the Database Writer. There you can also change the mapping.
Note that by converting double values to long you will loose information (basically the fractional part). If you are fine with this you can use the Double to Int node (which can also create long cells despite its name).