Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in
Toggle navigation
F
fund_report
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
彭熊
fund_report
Commits
2c4e102c
Commit
2c4e102c
authored
Nov 24, 2020
by
赵杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
数据库model删除metemodel
parent
eed859c0
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
258 additions
and
260 deletions
+258
-260
base.py
app/model/base.py
+1
-3
tamp_product_models.py
app/model/tamp_product_models.py
+130
-130
tamp_user_models.py
app/model/tamp_user_models.py
+127
-127
No files found.
app/model/base.py
View file @
2c4e102c
...
@@ -6,14 +6,12 @@
...
@@ -6,14 +6,12 @@
# @Email : acepengxiong@163.com
# @Email : acepengxiong@163.com
# @Software : PyCharm
# @Software : PyCharm
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
from
sqlalchemy.ext.declarative
import
declarative_base
,
declared_attr
from
sqlalchemy.ext.declarative
import
declarative_base
Base
=
declarative_base
()
Base
=
declarative_base
()
metadata
=
Base
.
metadata
class
BaseModel
():
class
BaseModel
():
"""."""
"""."""
__abstract__
=
True
def
__init__
(
self
):
def
__init__
(
self
):
pass
pass
...
...
app/model/tamp_product_models.py
View file @
2c4e102c
This diff is collapsed.
Click to expand it.
app/model/tamp_user_models.py
View file @
2c4e102c
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment