chenxiqiang пре 6 година
родитељ
комит
6df2e9eb1c

+ 1
- 1
manage-server/.env Прегледај датотеку

7
 LOG_CHANNEL=stack
7
 LOG_CHANNEL=stack
8
 
8
 
9
 DB_CONNECTION=mysql
9
 DB_CONNECTION=mysql
10
-DB_HOST=45.76.78.178
10
+DB_HOST=wechat.sotype.com
11
 DB_PORT=3306
11
 DB_PORT=3306
12
 DB_DATABASE=houseworking
12
 DB_DATABASE=houseworking
13
 DB_USERNAME=houseworking
13
 DB_USERNAME=houseworking

+ 1
- 1
manage-server/database/migrations/2018_08_15_102705_create_campaigns_table.php Прегледај датотеку

16
         Schema::create('campaigns', function (Blueprint $table) {
16
         Schema::create('campaigns', function (Blueprint $table) {
17
             $table->increments('id');
17
             $table->increments('id');
18
             $table->string('title');
18
             $table->string('title');
19
-            $table->string('content');
19
+            $table->text('content');
20
             $table->integer('status');
20
             $table->integer('status');
21
             $table->timestamps();
21
             $table->timestamps();
22
         });
22
         });

+ 0
- 31
manage-server/database/migrations/2018_08_22_033723_create_classifies_table.php Прегледај датотеку

1
-<?php
2
-
3
-use Illuminate\Support\Facades\Schema;
4
-use Illuminate\Database\Schema\Blueprint;
5
-use Illuminate\Database\Migrations\Migration;
6
-
7
-class CreateClassifiesTable extends Migration
8
-{
9
-    /**
10
-     * Run the migrations.
11
-     *
12
-     * @return void
13
-     */
14
-    public function up()
15
-    {
16
-        Schema::create('classifies', function (Blueprint $table) {
17
-            $table->increments('id');
18
-            $table->timestamps();
19
-        });
20
-    }
21
-
22
-    /**
23
-     * Reverse the migrations.
24
-     *
25
-     * @return void
26
-     */
27
-    public function down()
28
-    {
29
-        Schema::dropIfExists('classifies');
30
-    }
31
-}

Loading…
Откажи
Сачувај