Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

how to modify existing entity from an existing table? #7816


User avatar
0
wcdagency created

hello

les say I have table named currency

Id -> int Value decimal -> 18,2 Name -> string.

The component creates default decimal value 18.2. My question is what is the right way to update decimal value from 18.2 to 18.4 ?


4 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    Can you talk more about it? And share some code.

  • User Avatar
    0
    wcdagency created

    hello les say I want to create table abc

    id int name nvarchar numberval decimal then les say I created it from toolbar, writing without code.

    then, toolbar creates decimal default decimal 18.2.

    so my question is, how could I create decimal value with 18.4 with component?

  • User Avatar
    0
    ryancyq created
    Support Team

    Hi, by mentioning the "toolbar", do you mean RAD Tool?

    To change the default value of a column for your database table, you will need to create a migration for it.

  • User Avatar
    0
    wcdagency created

    problem solved.