Commit 6e133581 by Bagus Pambudi

create table agenda

parent 17319f53
......@@ -15,7 +15,8 @@ class CreateSwpAgendasDeTable extends Migration
{
Schema::create('swp_agendas_de', function (Blueprint $table) {
$table->string('id', 36)->primary();
$table->string('title');
$table->string('agenda_id', 36);
$table->string('title')->nullable();
$table->text('content')->nullable();
$table->boolean('info_status')->nullable();
$table->integer('viewer')->nullable();
......@@ -24,6 +25,7 @@ class CreateSwpAgendasDeTable extends Migration
$table->string('userid_created', 36)->nullable();
$table->string('userid_updated', 36)->nullable();
$table->timestamps();
$table->string('keys')->nullable();
});
}
......
......@@ -15,7 +15,8 @@ class CreateSwpAgendasEnTable extends Migration
{
Schema::create('swp_agendas_en', function (Blueprint $table) {
$table->string('id', 36)->primary();
$table->string('title');
$table->string('agenda_id', 36);
$table->string('title')->nullable();
$table->text('content')->nullable();
$table->boolean('info_status')->nullable();
$table->integer('viewer')->nullable();
......@@ -24,6 +25,7 @@ class CreateSwpAgendasEnTable extends Migration
$table->string('userid_created', 36)->nullable();
$table->string('userid_updated', 36)->nullable();
$table->timestamps();
$table->string('keys')->nullable();
});
}
......
......@@ -15,7 +15,8 @@ class CreateSwpAgendasSaTable extends Migration
{
Schema::create('swp_agendas_sa', function (Blueprint $table) {
$table->string('id', 36)->primary();
$table->string('title');
$table->string('agenda_id', 36);
$table->string('title')->nullable();
$table->text('content')->nullable();
$table->boolean('info_status')->nullable();
$table->integer('viewer')->nullable();
......@@ -24,6 +25,7 @@ class CreateSwpAgendasSaTable extends Migration
$table->string('userid_created', 36)->nullable();
$table->string('userid_updated', 36)->nullable();
$table->timestamps();
$table->string('keys')->nullable();
});
}
......
......@@ -15,7 +15,8 @@ class CreateSwpAgendasZhTable extends Migration
{
Schema::create('swp_agendas_zh', function (Blueprint $table) {
$table->string('id', 36)->primary();
$table->string('title');
$table->string('agenda_id', 36);
$table->string('title')->nullable();
$table->text('content')->nullable();
$table->boolean('info_status')->nullable();
$table->integer('viewer')->nullable();
......@@ -24,6 +25,7 @@ class CreateSwpAgendasZhTable extends Migration
$table->string('userid_created', 36)->nullable();
$table->string('userid_updated', 36)->nullable();
$table->timestamps();
$table->string('keys')->nullable();
});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment