- added nearly all migration files
- added nearly all database seed files
This commit is contained in:
parent
489546ef6e
commit
7641c1dfdf
40 changed files with 1168 additions and 915 deletions
|
@ -16,7 +16,9 @@ class SitelinkController extends Controller
|
|||
->where('server_state', 'LIKE', "%" . $serverState . "%");
|
||||
|
||||
$select
|
||||
->select(DB::raw('YEAR(server_date_published) as published_date'))
|
||||
// ->select(DB::raw('EXTRACT(YEAR FROM server_date_published) as published_date'))
|
||||
// ->select(DB::raw("DATE_PART('year', server_date_published) as published_date"))
|
||||
->select(DB::raw("YEAR(server_date_published) AS published_date"))
|
||||
->distinct(true);
|
||||
|
||||
$this->years = $select->pluck('published_date');
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue