Skip to content

Commit d3578a5

Browse files
authored
Merge pull request #134 from tecladocode/develop
2 parents 40bbefc + d91e28f commit d3578a5

File tree

45 files changed

+737
-710
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+737
-710
lines changed

docs/algolia.config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"lvl4": "article h4",
2424
"lvl5": "article h5, article td:first-child",
2525
"lvl6": "article h6",
26-
"text": "article p, article li, article td:last-child"
26+
"text": "article p, article pre, article li, article td:last-child"
2727
},
2828
"strip_chars": " .,;:#",
2929
"custom_settings": {

docs/docs/07_sqlalchemy_many_to_many/02_one_to_many_review/README.md

Lines changed: 1 addition & 1 deletion

docs/docs/07_sqlalchemy_many_to_many/02_one_to_many_review/end/models/tag.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ class TagModel(db.Model):
66

77
id = db.Column(db.Integer, primary_key=True)
88
name = db.Column(db.String(80), unique=False, nullable=False)
9-
store_id = db.Column(db.Integer(), db.ForeignKey("stores.id"), nullable=False)
9+
store_id = db.Column(db.Integer, db.ForeignKey("stores.id"), nullable=False)
1010

1111
store = db.relationship("StoreModel", back_populates="tags")

docs/docs/07_sqlalchemy_many_to_many/03_many_to_many_relationships/README.md

Lines changed: 1 addition & 1 deletion

docs/docs/07_sqlalchemy_many_to_many/03_many_to_many_relationships/end/models/tag.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class TagModel(db.Model):
66

77
id = db.Column(db.Integer, primary_key=True)
88
name = db.Column(db.String(80), unique=False, nullable=False)
9-
store_id = db.Column(db.Integer(), db.ForeignKey("stores.id"), nullable=False)
9+
store_id = db.Column(db.Integer, db.ForeignKey("stores.id"), nullable=False)
1010

1111
store = db.relationship("StoreModel", back_populates="tags")
1212
items = db.relationship("ItemModel", back_populates="tags", secondary="items_tags")

docs/docs/07_sqlalchemy_many_to_many/03_many_to_many_relationships/start/models/tag.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ class TagModel(db.Model):
66

77
id = db.Column(db.Integer, primary_key=True)
88
name = db.Column(db.String(80), unique=False, nullable=False)
9-
store_id = db.Column(db.Integer(), db.ForeignKey("stores.id"), nullable=False)
9+
store_id = db.Column(db.Integer, db.ForeignKey("stores.id"), nullable=False)
1010

1111
store = db.relationship("StoreModel", back_populates="tags")

docs/docs/08_flask_jwt_extended/04_flask_jwt_extended_setup/end/models/tag.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class TagModel(db.Model):
66

77
id = db.Column(db.Integer, primary_key=True)
88
name = db.Column(db.String(80), unique=False, nullable=False)
9-
store_id = db.Column(db.Integer(), db.ForeignKey("stores.id"), nullable=False)
9+
store_id = db.Column(db.Integer, db.ForeignKey("stores.id"), nullable=False)
1010

1111
store = db.relationship("StoreModel", back_populates="tags")
1212
items = db.relationship(

docs/docs/08_flask_jwt_extended/04_flask_jwt_extended_setup/start/models/tag.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class TagModel(db.Model):
66

77
id = db.Column(db.Integer, primary_key=True)
88
name = db.Column(db.String(80), unique=False, nullable=False)
9-
store_id = db.Column(db.Integer(), db.ForeignKey("stores.id"), nullable=False)
9+
store_id = db.Column(db.Integer, db.ForeignKey("stores.id"), nullable=False)
1010

1111
store = db.relationship("StoreModel", back_populates="tags")
1212
items = db.relationship(

docs/docs/08_flask_jwt_extended/05_user_model_and_schema/end/models/tag.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class TagModel(db.Model):
66

77
id = db.Column(db.Integer, primary_key=True)
88
name = db.Column(db.String(80), unique=False, nullable=False)
9-
store_id = db.Column(db.Integer(), db.ForeignKey("stores.id"), nullable=False)
9+
store_id = db.Column(db.Integer, db.ForeignKey("stores.id"), nullable=False)
1010

1111
store = db.relationship("StoreModel", back_populates="tags")
1212
items = db.relationship(

docs/docs/08_flask_jwt_extended/05_user_model_and_schema/start/models/tag.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class TagModel(db.Model):
66

77
id = db.Column(db.Integer, primary_key=True)
88
name = db.Column(db.String(80), unique=False, nullable=False)
9-
store_id = db.Column(db.Integer(), db.ForeignKey("stores.id"), nullable=False)
9+
store_id = db.Column(db.Integer, db.ForeignKey("stores.id"), nullable=False)
1010

1111
store = db.relationship("StoreModel", back_populates="tags")
1212
items = db.relationship("ItemModel", back_populates="tags", secondary="items_tags")

0 commit comments

Comments
 (0)