Data designer DEFAULT CURRENT_TIMESTAMP problematic
-
Hi
I have been developing on 2 sites, one with tables created outside wpda and one more recently using Data Designer to update table structure. I have a field book_date defined as timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, but when this has been updated using data designer there seems to be a subtle difference in the table definition. As a result the form validation code is fooled and when I try to Add New I get ‘book_date’ must be entered (it is not recognising there is a default value)
I will send you screenshots of the way it looks in each database from Data Explorer, and also the html extracts that show why in one case it recognises a value will be generated and in the other the code believes it is a blank field that needs to be entered – using your contact form
Best regards
Kebhin
- The topic ‘Data designer DEFAULT CURRENT_TIMESTAMP problematic’ is closed to new replies.