Parcourir la source

更新数据库

chenxiqiang il y a 6 ans
Parent
révision
6df2e9eb1c

+ 1
- 1
manage-server/.env Voir le fichier

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

+ 1
- 1
manage-server/database/migrations/2018_08_15_102705_create_campaigns_table.php Voir le fichier

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

+ 0
- 31
manage-server/database/migrations/2018_08_22_033723_create_classifies_table.php Voir le fichier

@@ -1,31 +0,0 @@
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…
Annuler
Enregistrer