masking icon indicating copy to clipboard operation
masking copied to clipboard

Adding date/datetime incremental replacer for not violent unique constraint

Open kibitan opened this issue 5 years ago • 0 comments

table:
  date_birthday: 1990-01-%{increment_data}
  time: 2010-01-01 %{increment_time}

it would be replaced as an incremental date replace.

date

  • 1990-01-01
  • 1990-01-02
  • .....
  • 1991-12-31

time

  • 2010-01-01 00:00:00
  • 2010-01-01 00:00:01
  • ....
  • 2010-01-02 23:59:59

considering point

  • is %{increment_data} %{increment_time} good syntax?

kibitan avatar Nov 10 '19 16:11 kibitan