Skip to content
Snippets Groups Projects
Commit 33f5a662 authored by Anton Bagliy's avatar Anton Bagliy
Browse files

ADD: dev db clone scripts under windows

parent ca99c10b
Branches
No related merge requests found
psql -h localhost -U postgres -d postgres -a -f reload_db.sql
pg_dump --format=custom -h localhost -p 5535 -U grade --no-password -d grade -f C:\work\Grade\postresql\grade-dump\dump-grade-latest.backup
pg_restore -h localhost -U postgres -d testgrade C:\work\Grade\postresql\grade-dump\dump-grade-latest.backup
psql -h localhost -U postgres -d testgrade -a -f post_reload.sql
\ No newline at end of file
update accounts set password=sha1('11111');
\ No newline at end of file
drop database testgrade;
create database testgrade;
\c testgrade
create extension pgcrypto
\q
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment