📜  ls.ProgrammingError: 表 django_migrations 的权限被拒绝 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:04.989000             🧑  作者: Mango

代码示例1
psql mydatabase -c "GRANT ALL ON ALL TABLES IN SCHEMA public to dbuser;"
psql mydatabase -c "GRANT ALL ON ALL SEQUENCES IN SCHEMA public to dbuser;"
psql mydatabase -c "GRANT ALL ON ALL FUNCTIONS IN SCHEMA public to dbuser;"