How to change default data type of existing fields #1293
Closed
JaiSh12345
started this conversation in
Chat
Replies: 1 comment
-
You can set it like:
For previous records, I am not sure, I assume you can use Issue #121 is open for the decimal to string conversion |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Suppose I create a database and do:
CREATE products:laptop SET price='499.99'
Now, I want to change the default datatype of
price
field tofloat
.I add another product
CREATE products:desktop SET price=999.99
.But, it gives me back the field as a string. How do I change all future
price
s to befloat
s, and all previous ones too?Beta Was this translation helpful? Give feedback.
All reactions