Created
May 5, 2019 13:00
-
-
Save ws2356/72399172af463805f5ff841d1a94eedf to your computer and use it in GitHub Desktop.
后端项目初始化数据库
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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