#289 CURRENT_TIMESTAMP on create only

closed-works-for-me
MySQL (68)
5
2013-01-12
2012-12-30
No

There should be a way to choose, to have the CURRENT_TIMESTAMP inserted into column only on row create, not update.

Discussion

  • Jakub Vrána

    Jakub Vrána - 2013-01-12
    • status: open --> closed-works-for-me
     
  • Jakub Vrána

    Jakub Vrána - 2013-01-12

    Just set the default value of timestamp column to CURRENT_TIMESTAMP (instead of default CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP).

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks