Skip to content

Instantly share code, notes, and snippets.

@ws2356
Created May 5, 2019 13:00
Show Gist options
  • Save ws2356/72399172af463805f5ff841d1a94eedf to your computer and use it in GitHub Desktop.
Save ws2356/72399172af463805f5ff841d1a94eedf to your computer and use it in GitHub Desktop.
后端项目初始化数据库
create user iapsync with encrypted password 'iapsync';
create database iapsync_db;
GRANT CONNECT ON DATABASE iapsync_db TO iapsync;
GRANT SELECT, INSERT, UPDATE, DELETE ON ALL TABLES IN SCHEMA public TO iapsync;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment