hyperf/.travis/pgsql.sql

13 lines
299 B
MySQL
Raw Normal View History

CREATE TABLE users
(
id SERIAL
constraint users_id
primary key,
email varchar(255) not null
constraint users_email
unique,
name varchar(255) not null
);
INSERT INTO public.users (id, email, name) VALUES (DEFAULT, 'test@hyperf.io', 'hyperf');