CREATE TABLE users ( id INTEGER PRIMARY KEY NOT NULL DEFAULT NEXTVAL ('users_id_seq'), name VARCHAR(50) NOT NULL, active BOOLEAN NOT NULL DEFAULT true, created_at TIMESTAMP NOT NULL DEFAULT...


CREATE TABLE users (


id INTEGER PRIMARY KEY NOT NULL DEFAULT NEXTVAL ('users_id_seq'),


name VARCHAR(50) NOT NULL,


active BOOLEAN NOT NULL DEFAULT true,


created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,


updated_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP

);


Aug 20, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here