You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-1Lines changed: 11 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,17 @@
10
10
A flexible toolkit for customize how Django creates the databse objects for the
11
11
application schema
12
12
13
+
# Overview
14
+
Django DB adapter is a flexible schema editor backend built to solve the following problems:
15
+
16
+
- Generate SQL statements for projects working on database-first approach
17
+
- All objects created (including created from Django) must have a particular name pattern, like add prefixes and suffixes
18
+
- All table columns should be commented
19
+
- Inline constraints (primary/foreign keys, unique/check constraints and indexes) are not allowed
20
+
- The database user of application is not the owner of the objects and has no privilege to create/alter/drop them (`python manage.py migrate` will not work for this user). All DDL statements generated should include a grant of manipulation privileges (select/insert/update/delete) on created objects for this user/role
21
+
- The order of SQL statements matters
22
+
23
+
13
24
# Requirements
14
25
- Python (3.6, 3.7, 3.8, 3.9)
15
26
- Django (1.11, 2.2)
@@ -106,7 +117,6 @@ DB_ADAPTER = {
106
117
'CONTROL', # Grant/revoke table privileges for specified role (if exists)
107
118
'AUTOINCREMENT', # Sequence and triggers for auto-incremented fields
0 commit comments