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:
@ -1,3 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
psql -U postgres -h 127.0.0.1 -f setup_db_and_user.sql
|
@ -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,
|
Reference in New Issue
Block a user