Browse Source
Save the count of articles in the Infos table
Save the count of articles in the Infos table
Display the count in CommunitiesServer and CommunityData Redesign CommunityData Add a "Add" button when configuring affiliations for a Community Update the dependencies Add support for index in Pubsub GetItems in Moxlpull/684/head
9 changed files with 83 additions and 33 deletions
-
6app/widgets/CommunitiesServer/_communitiesserver.tpl
-
11app/widgets/CommunityAffiliations/_communityaffiliations_config_content.tpl
-
17app/widgets/CommunityData/CommunityData.php
-
20app/widgets/CommunityData/_communitydata.tpl
-
10composer.lock
-
21database/migrations/20180807210349_add_items_to_infos_table.php
-
11lib/moxl/src/Moxl/Stanza/Pubsub.php
-
19lib/moxl/src/Moxl/Xec/Action/Pubsub/GetItems.php
-
1themes/material/css/listn.css
@ -0,0 +1,21 @@ |
|||
<?php |
|||
|
|||
use Movim\Migration; |
|||
use Illuminate\Database\Schema\Blueprint; |
|||
|
|||
class AddItemsToInfosTable extends Migration |
|||
{ |
|||
public function up() |
|||
{ |
|||
$this->schema->table('infos', function(Blueprint $table) { |
|||
$table->integer('items')->default(0); |
|||
}); |
|||
} |
|||
|
|||
public function down() |
|||
{ |
|||
$this->schema->table('infos', function(Blueprint $table) { |
|||
$table->dropColumn('items'); |
|||
}); |
|||
} |
|||
} |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue