Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Odevzdávací Systém MO
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martin Mareš
Odevzdávací Systém MO
Commits
26b96f98
Commit
26b96f98
authored
4 years ago
by
Martin Mareš
Browse files
Options
Downloads
Patches
Plain Diff
Databáze a role se jmenují mo_osmo
parent
87173b5d
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
config.py.example
+1
-1
1 addition, 1 deletion
config.py.example
db/db.ddl
+4
-4
4 additions, 4 deletions
db/db.ddl
with
5 additions
and
5 deletions
config.py.example
+
1
−
1
View file @
26b96f98
SQLALCHEMY_DATABASE_URI = "postgresql:///mo_
submit
"
SQLALCHEMY_DATABASE_URI = "postgresql:///mo_
osmo
"
SQLALCHEMY_TRACK_MODIFICATIONS = False
SQLALCHEMY_ECHO = False
...
...
This diff is collapsed.
Click to expand it.
db/db.ddl
+
4
−
4
View file @
26b96f98
-- CREATE ROLE mo_
submit
LOGIN PASSWORD 'pass';
-- CREATE DATABASE mo_
submit
WITH OWNER=mo_
submit
;
-- GRANT mo_
submit
TO some_admin;
-- CREATE ROLE mo_
osmo
LOGIN PASSWORD 'pass';
-- CREATE DATABASE mo_
osmo
WITH OWNER=mo_
osmo
;
-- GRANT mo_
osmo
TO some_admin;
SET ROLE mo_
submit
;
SET ROLE mo_
osmo
;
-- Uživatelský účet
CREATE TABLE users (
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment