framework/extensions/likes/migrations
Franz Liedke 95ea40a7c4 Do not use model classes in the migrations
The model classes encapsulate knowledge about the database that
may change. That knowledge may be table names, or the value of
constants (such as `Group::MEMBER_ID` in this case).

Models may even disappear after a while due to refactorings.

In all these cases, this migration would break. Thus, we use
Laravel's query builder features which makes building queries
almost as easy as using the model - but correct in all cases. :-)
2016-03-20 22:40:42 +09:00
..
2015_05_11_000000_create_posts_likes_table.php Use new shortcuts for migrations 2016-03-04 01:11:39 +09:00
2015_09_04_000000_add_default_like_permissions.php Do not use model classes in the migrations 2016-03-20 22:40:42 +09:00