Check out example codes for "postgres how to add field created at". It will help you in understanding the concepts better.

Code Example 1

ALTER TABLE customers 
ADD COLUMN contact_name VARCHAR NOT NULL;

Code Example 2

CREATE TABLE my_table
(
	id serial NOT NULL,
    user_name text,
	created_at timestamp with time zone DEFAULT CURRENT_TIMESTAMP //here
)

Learn ReactJs, React Native from akashmittal.com