Commit Graph

11 Commits

Author SHA1 Message Date
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
Franz Liedke
af76eff949 Use new shortcuts for migrations 2016-03-04 01:11:39 +09:00
Franz Liedke
5102a0d97b Use new migration format 2016-02-24 23:12:49 +09:00
Toby Zerner
eee3f9ca92 Update for composer branch 2015-10-11 15:30:19 +10:30
Toby Zerner
1f8ccc8674 Namespace migrations 2015-09-17 09:10:05 +09:30
Toby Zerner
f8b96c6ca9 Prevent MassAssignmentException 2015-09-06 10:57:17 +09:30
Toby Zerner
f02d0ec602 Add LICENSE information 2015-09-04 12:32:27 +09:30
Toby Zerner
fc43fd8fb4 Allow members to like posts by default and add setting
closes flarum/core#344
2015-09-04 12:06:37 +09:30
Toby Zerner
21ad0d8203 Update migrations 2015-08-14 12:55:06 +09:30
Toby Zerner
6596fb4734 Fix migration 2015-06-23 11:01:25 +09:30
Toby Zerner
e57eb5a14f Initial commit 2015-06-23 10:25:24 +09:30