1
0
mirror of https://github.com/actix/examples synced 2025-06-29 18:24:57 +02:00

Remove shell script and add more verbose instructions to README

This commit is contained in:
Michael P. Jung
2020-01-16 19:21:17 +01:00
parent b94ab2165f
commit ac7931fd27
3 changed files with 34 additions and 17 deletions

11
async_pg/sql/schema.sql Normal file
View File

@ -0,0 +1,11 @@
DROP SCHEMA IF EXISTS testing CASCADE;
CREATE SCHEMA testing;
CREATE TABLE testing.users (
id BIGSERIAL PRIMARY KEY,
email VARCHAR(200) NOT NULL,
first_name VARCHAR(200) NOT NULL,
last_name VARCHAR(200) NOT NULL,
username VARCHAR(50) UNIQUE NOT NULL,
UNIQUE (username)
);