I have a table that looks like this:
CREATE TABLE tabley(
log text, -- something like this you get the point
created timestamptz NOT NULL DEFAULT NOW()
)
And I want to let a postgres user INSERT their own arbitrary log but I want to make sure they are not allowed to set their own arbitrary created. Is there any clean way to enforce this?
createdfield so that it can't be overridden