Answer the question
In order to leave comments, you need to log in
How to create a query to create a table in DOCTRINE2 with a DEFAULT now() type field?
You should get a query like this:
CREATE TABLE tbl
(
id integer NOT NULL,
date_added timestamp with time zone NOT NULL DEFAULT now(),
);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question