Guide
API
Wiki
Forum
Community
Live Chat
Extensions
Resources
Members
Hall of Fame
Badges
More
Learn
Books
Resources
Develop
Download Yii
Report an Issue
Report a Security Issue
Contribute to Yii
Donate
About
What is Yii?
Release Cycle
News
License
Team
Official Logos and Design
Login
Yii Framework Wiki
Write
new article
Categories
All
Tips
342
How-tos
445
Tutorials
289
FAQs
45
Others
56
Popular Tags
All
yii2
90
CGridView
69
AJAX
57
Yii
48
tutorial
39
model
31
i18n
30
authentication
28
security
26
database
24
Recent Comments
E.Alamo
on
PHP built-in server integration
a month ago
coderevolts
on
Implementing cron jobs with Yii
2 months ago
Néstor Acevedo
on
Filter & Sort by calculated/related fields in GridView Yii 2.0
5 months ago
Kamil Pomykała
on
JWT authentication tutorial
10 months ago
JQL
on
How to add a DropDown Language Picker (i18n) to the Menu
10 months ago
Difference between #
2
and #
5
of
Nested Set with Yii2
Changes
Title
unchanged
Nested Set with Yii2
Category
unchanged
Tutorials
Yii version
unchanged
2.0
Tags
unchanged
nested-set
Content
changed
[...]
$ ./yii migrate
```
If everything is okay, then you could see that a new table named `category` already exists.
<img src="https://3.bp.blogspot.com/-kDWGxQLPPUw/XCrzycZVViI/AAAAAAAAEJo/kHXaGNXe0d0ihMv3EJvzR-UXUxCRPnI-wCLcBGAs/s1600/Nested%2BSet%2Btable.png" />
<h2>
Generate the default CRUD using Gii
[...]
Complete files can be found at my GitHub page: https://github.com/prabowomurti/learn-nested-set
The screencast (subtitled English) here : https://www.youtube.com/watch?v=MjJEjF1arHs
7
0
3
followers
Viewed:
89 197 times
Version:
2.0
Category:
Tutorials
Tags:
nested-set
Written by:
sangprabo
Last updated by:
sangprabo
Created on:
Mar 18, 2019
Last updated:
5 years ago
Update Article
Revert to #2
|
Revert to #5
Revisions
View all history
5 years ago
by
sangprabo
Add link to complete files and YouTube v...
5 years ago
by
sangprabo
Remove the image
5 years ago
by
sangprabo
Change URL of image to non-https
5 years ago
by
sangprabo
The image URL is broken
5 years ago
by
sangprabo