Page 2 of 2

How to change the data type of a database column?

Posted: Wed Aug 29, 2012 1:20 am
by Gail

Oops! I mean I would like the database column to be of data TYPE date..


How to change the data type of a database column?

Posted: Wed Aug 29, 2012 2:44 am
by maxkatz

You could set some fixed date and only change the time.


How to change the data type of a database column?

Posted: Sat May 10, 2014 10:24 pm
by RobertJay

Hi, I'm having difficulty importing the field "lat_lon" to be a geopoint field as shown below. I've tried various alternatives to "name:geopoint","lat_lon" - with no success. Can you tell me what I should be using in the first row. The csv data source is Excel. Thanks.

http://screencast.com/t/k9S9iSR5mgX


How to change the data type of a database column?

Posted: Sun May 11, 2014 1:06 am
by Igor

Hi,

Your CSV file has incorrect field description. You can create simple collection and export it to the CSV file to get the correct file format.
An example CSV file:
pre
"_id:string","acl:object","phoneNumber:string","Geopoint:geopoint|indexed"
"5311cd35e4b0fe98ca23990c","","375894739","[ 124.0 , -18.0]"
/pre
http://docs.appery.io/documentation/b...


How to change the data type of a database column?

Posted: Sun May 11, 2014 1:44 pm
by RobertJay

Igor, thank you - that's perfect. Have a nice day.