1
0
mirror of https://github.com/actix/examples synced 2025-06-28 18:00:37 +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

View File

@ -1,3 +0,0 @@
#!/bin/bash
psql -U postgres -h 127.0.0.1 -f setup_db_and_user.sql

View File

@ -1,15 +1,6 @@
DROP DATABASE IF EXISTS testing_db;
CREATE USER test_user WITH PASSWORD 'testing';
CREATE DATABASE testing_db OWNER test_user;
\connect testing_db;
DROP SCHEMA IF EXISTS testing CASCADE;
CREATE SCHEMA testing;
CREATE TABLE testing.users (
id BIGSERIAL PRIMARY KEY,
email VARCHAR(200) NOT NULL,