Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
public
/
sequelize
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
不要怂,就是干,撸起袖子干!
Commit 7a9200da
authored
Aug 23, 2010
by
Sascha Depold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed obsolete returns from example
1 parent
5f6b428a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 additions
and
7 deletions
README.md
examples/UsingMultipleModelFiles/Project.js
examples/UsingMultipleModelFiles/Task.js
README.md
View file @
7a9200d
...
...
@@ -53,7 +53,7 @@ You can also store your model definitions in a single file using the _import_ me
// Project.js
exports.getProjectClass = function(Sequelize, sequelize) {
return
sequelize.define("Project", {
sequelize.define("Project", {
name: Sequelize.STRING,
description: Sequelize.TEXT
})
...
...
examples/UsingMultipleModelFiles/Project.js
View file @
7a9200d
...
...
@@ -7,6 +7,4 @@ exports.getProjectClass = function(Sequelize, sequelize) {
/*
Here comes further Project logic
*/
return
Project
}
\ No newline at end of file
examples/UsingMultipleModelFiles/Task.js
View file @
7a9200d
...
...
@@ -8,6 +8,4 @@ exports.getTaskClass = function(Sequelize, sequelize) {
/*
Here comes further Task logic
*/
return
Task
}
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
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 post a comment