Commit 24b2761a by Bagus Pambudi

restore migration

parent 311fcc8f
...@@ -13,11 +13,11 @@ class CreatePasswordResetsTable extends Migration ...@@ -13,11 +13,11 @@ class CreatePasswordResetsTable extends Migration
*/ */
public function up() public function up()
{ {
// Schema::create('password_resets', function (Blueprint $table) { Schema::create('password_resets', function (Blueprint $table) {
// $table->string('email')->index(); $table->string('email')->index();
// $table->string('token'); $table->string('token');
// $table->timestamp('created_at')->nullable(); $table->timestamp('created_at')->nullable();
// }); });
} }
/** /**
......
...@@ -13,14 +13,14 @@ class CreateTableCategories extends Migration ...@@ -13,14 +13,14 @@ class CreateTableCategories extends Migration
*/ */
public function up() public function up()
{ {
// Schema::create('swp_categories', function (Blueprint $table) { Schema::create('swp_categories', function (Blueprint $table) {
// $table->string('id', 36)->primary(); $table->string('id', 36)->primary();
// $table->string('name'); $table->string('name');
// $table->boolean('is_active')->nullable(); $table->boolean('is_active')->nullable();
// $table->string('userid_created', 36)->nullable(); $table->string('userid_created', 36)->nullable();
// $table->string('userid_updated', 36)->nullable(); $table->string('userid_updated', 36)->nullable();
// $table->timestamps(); $table->timestamps();
// }); });
} }
/** /**
......
...@@ -13,14 +13,14 @@ class CreateCategoriesFileTable extends Migration ...@@ -13,14 +13,14 @@ class CreateCategoriesFileTable extends Migration
*/ */
public function up() public function up()
{ {
// Schema::create('swp_categories_file', function (Blueprint $table) { Schema::create('swp_categories_file', function (Blueprint $table) {
// $table->string('id', 36)->primary(); $table->string('id', 36)->primary();
// $table->string('name'); $table->string('name');
// $table->boolean('is_active')->nullable(); $table->boolean('is_active')->nullable();
// $table->string('userid_created', 36)->nullable(); $table->string('userid_created', 36)->nullable();
// $table->string('userid_updated', 36)->nullable(); $table->string('userid_updated', 36)->nullable();
// $table->timestamps(); $table->timestamps();
// }); });
} }
/** /**
......
...@@ -13,17 +13,17 @@ class CreateDesignTable extends Migration ...@@ -13,17 +13,17 @@ class CreateDesignTable extends Migration
*/ */
public function up() public function up()
{ {
// Schema::create('swp_design', function (Blueprint $table) { Schema::create('swp_design', function (Blueprint $table) {
// $table->string('id', 36)->primary(); $table->string('id', 36)->primary();
// $table->string('name_design'); $table->string('name_design');
// $table->string('title_design')->nullable(); $table->string('title_design')->nullable();
// $table->text('value_design')->nullable(); $table->text('value_design')->nullable();
// $table->integer('urutan')->nullable(); $table->integer('urutan')->nullable();
// $table->boolean('title_show')->nullable(); $table->boolean('title_show')->nullable();
// $table->string('userid_created', 36)->nullable(); $table->string('userid_created', 36)->nullable();
// $table->string('userid_updated', 36)->nullable(); $table->string('userid_updated', 36)->nullable();
// $table->timestamps(); $table->timestamps();
// }); });
} }
/** /**
......
...@@ -13,18 +13,18 @@ class CreateFilesTable extends Migration ...@@ -13,18 +13,18 @@ class CreateFilesTable extends Migration
*/ */
public function up() public function up()
{ {
// Schema::create('swp_files', function (Blueprint $table) { Schema::create('swp_files', function (Blueprint $table) {
// $table->string('id', 36)->primary(); $table->string('id', 36)->primary();
// $table->string('categories_file', 36); $table->string('categories_file', 36);
// $table->string('title'); $table->string('title');
// $table->string('file'); $table->string('file');
// $table->boolean('is_active')->nullable(); $table->boolean('is_active')->nullable();
// $table->integer('downloaded')->nullable(); $table->integer('downloaded')->nullable();
// $table->string('slug')->nullable(); $table->string('slug')->nullable();
// $table->string('userid_created', 36)->nullable(); $table->string('userid_created', 36)->nullable();
// $table->string('userid_updated', 36)->nullable(); $table->string('userid_updated', 36)->nullable();
// $table->timestamps(); $table->timestamps();
// }); });
} }
/** /**
......
...@@ -13,16 +13,16 @@ class CreateGaleriesTable extends Migration ...@@ -13,16 +13,16 @@ class CreateGaleriesTable extends Migration
*/ */
public function up() public function up()
{ {
// Schema::create('swp_galeries', function (Blueprint $table) { Schema::create('swp_galeries', function (Blueprint $table) {
// $table->string('id', 36)->primary(); $table->string('id', 36)->primary();
// $table->string('title'); $table->string('title');
// $table->text('decription')->nullable(); $table->text('decription')->nullable();
// $table->string('gallery')->nullable(); $table->string('gallery')->nullable();
// $table->string('userid_created', 36)->nullable(); $table->string('userid_created', 36)->nullable();
// $table->string('userid_updated', 36)->nullable(); $table->string('userid_updated', 36)->nullable();
// $table->boolean('is_active')->nullable(); $table->boolean('is_active')->nullable();
// $table->timestamps(); $table->timestamps();
// }); });
} }
/** /**
......
...@@ -13,18 +13,18 @@ class CreateInformationsTable extends Migration ...@@ -13,18 +13,18 @@ class CreateInformationsTable extends Migration
*/ */
public function up() public function up()
{ {
// Schema::create('swp_informations', function (Blueprint $table) { Schema::create('swp_informations', function (Blueprint $table) {
// $table->string('id', 36)->primary(); $table->string('id', 36)->primary();
// $table->string('title'); $table->string('title');
// $table->text('content')->nullable(); $table->text('content')->nullable();
// $table->boolean('info_status')->nullable(); $table->boolean('info_status')->nullable();
// $table->integer('viewer')->nullable(); $table->integer('viewer')->nullable();
// $table->string('slug')->nullable(); $table->string('slug')->nullable();
// $table->date('event_date')->nullable(); $table->date('event_date')->nullable();
// $table->string('userid_created', 36)->nullable(); $table->string('userid_created', 36)->nullable();
// $table->string('userid_updated', 36)->nullable(); $table->string('userid_updated', 36)->nullable();
// $table->timestamps(); $table->timestamps();
// }); });
} }
/** /**
......
...@@ -13,20 +13,20 @@ class CreateMenusTable extends Migration ...@@ -13,20 +13,20 @@ class CreateMenusTable extends Migration
*/ */
public function up() public function up()
{ {
// Schema::create('swp_menus', function (Blueprint $table) { Schema::create('swp_menus', function (Blueprint $table) {
// $table->string('id', 36)->primary(); $table->string('id', 36)->primary();
// $table->string('name'); $table->string('name');
// $table->string('url')->nullable(); $table->string('url')->nullable();
// $table->string('mode')->nullable(); $table->string('mode')->nullable();
// $table->boolean('status')->nullable(); $table->boolean('status')->nullable();
// $table->string('parent', 36)->nullable(); $table->string('parent', 36)->nullable();
// $table->integer('urutan')->nullable(); $table->integer('urutan')->nullable();
// $table->integer('parentlevel')->nullable(); $table->integer('parentlevel')->nullable();
// $table->integer('level')->nullable(); $table->integer('level')->nullable();
// $table->string('userid_created', 36)->nullable(); $table->string('userid_created', 36)->nullable();
// $table->string('userid_updated', 36)->nullable(); $table->string('userid_updated', 36)->nullable();
// $table->timestamps(); $table->timestamps();
// }); });
} }
/** /**
......
...@@ -13,23 +13,23 @@ class CreatePagesTable extends Migration ...@@ -13,23 +13,23 @@ class CreatePagesTable extends Migration
*/ */
public function up() public function up()
{ {
// Schema::create('swp_pages', function (Blueprint $table) { Schema::create('swp_pages', function (Blueprint $table) {
// $table->string('id', 36)->primary(); $table->string('id', 36)->primary();
// $table->string('title'); $table->string('title');
// $table->text('content')->nullable(); $table->text('content')->nullable();
// $table->string('categories', 36)->nullable(); $table->string('categories', 36)->nullable();
// $table->string('thumbnail')->nullable(); $table->string('thumbnail')->nullable();
// $table->timestamp('post_date')->nullable(); $table->timestamp('post_date')->nullable();
// $table->boolean('post_status')->nullable(); $table->boolean('post_status')->nullable();
// $table->string('posts_password')->nullable(); $table->string('posts_password')->nullable();
// $table->boolean('comment_status')->nullable(); $table->boolean('comment_status')->nullable();
// $table->integer('viewer')->nullable(); $table->integer('viewer')->nullable();
// $table->integer('comment_count')->nullable(); $table->integer('comment_count')->nullable();
// $table->string('slug')->nullable(); $table->string('slug')->nullable();
// $table->string('userid_created', 36)->nullable(); $table->string('userid_created', 36)->nullable();
// $table->string('userid_updated', 36)->nullable(); $table->string('userid_updated', 36)->nullable();
// $table->timestamps(); $table->timestamps();
// }); });
} }
/** /**
......
...@@ -13,24 +13,24 @@ class CreatePostsTable extends Migration ...@@ -13,24 +13,24 @@ class CreatePostsTable extends Migration
*/ */
public function up() public function up()
{ {
// Schema::create('swp_posts', function (Blueprint $table) { Schema::create('swp_posts', function (Blueprint $table) {
// $table->string('id', 36)->primary(); $table->string('id', 36)->primary();
// $table->string('title'); $table->string('title');
// $table->text('content')->nullable(); $table->text('content')->nullable();
// $table->string('categories', 36)->nullable(); $table->string('categories', 36)->nullable();
// $table->string('thumbnail')->nullable(); $table->string('thumbnail')->nullable();
// $table->timestamp('post_date')->nullable(); $table->timestamp('post_date')->nullable();
// $table->boolean('post_status')->nullable(); $table->boolean('post_status')->nullable();
// $table->boolean('cover_status')->nullable(); $table->boolean('cover_status')->nullable();
// $table->string('posts_password')->nullable(); $table->string('posts_password')->nullable();
// $table->boolean('comment_status')->nullable(); $table->boolean('comment_status')->nullable();
// $table->integer('viewer')->nullable(); $table->integer('viewer')->nullable();
// $table->integer('comment_count')->nullable(); $table->integer('comment_count')->nullable();
// $table->string('slug')->nullable(); $table->string('slug')->nullable();
// $table->string('userid_created', 36)->nullable(); $table->string('userid_created', 36)->nullable();
// $table->string('userid_updated', 36)->nullable(); $table->string('userid_updated', 36)->nullable();
// $table->timestamps(); $table->timestamps();
// }); });
} }
/** /**
......
...@@ -13,16 +13,16 @@ class CreateSlidersTable extends Migration ...@@ -13,16 +13,16 @@ class CreateSlidersTable extends Migration
*/ */
public function up() public function up()
{ {
// Schema::create('swp_sliders', function (Blueprint $table) { Schema::create('swp_sliders', function (Blueprint $table) {
// $table->string('id', 36)->primary(); $table->string('id', 36)->primary();
// $table->string('title'); $table->string('title');
// $table->string('slider')->nullable(); $table->string('slider')->nullable();
// $table->text('content')->nullable(); $table->text('content')->nullable();
// $table->boolean('is_active')->nullable(); $table->boolean('is_active')->nullable();
// $table->string('userid_created', 36)->nullable(); $table->string('userid_created', 36)->nullable();
// $table->string('userid_updated', 36)->nullable(); $table->string('userid_updated', 36)->nullable();
// $table->timestamps(); $table->timestamps();
// }); });
} }
/** /**
......
...@@ -13,15 +13,15 @@ class CreatePostEnTable extends Migration ...@@ -13,15 +13,15 @@ class CreatePostEnTable extends Migration
*/ */
public function up() public function up()
{ {
// Schema::create('swp_posts_en', function (Blueprint $table) { Schema::create('swp_posts_en', function (Blueprint $table) {
// $table->string('id', 36)->primary(); $table->string('id', 36)->primary();
// $table->string('post_id', 36); $table->string('post_id', 36);
// $table->string('title'); $table->string('title');
// $table->text('content')->nullable(); $table->text('content')->nullable();
// $table->string('userid_created', 36)->nullable(); $table->string('userid_created', 36)->nullable();
// $table->string('userid_updated', 36)->nullable(); $table->string('userid_updated', 36)->nullable();
// $table->timestamps(); $table->timestamps();
// }); });
} }
/** /**
......
...@@ -13,14 +13,14 @@ class CreateCategoriesEnTable extends Migration ...@@ -13,14 +13,14 @@ class CreateCategoriesEnTable extends Migration
*/ */
public function up() public function up()
{ {
// Schema::create('swp_categories_en', function (Blueprint $table) { Schema::create('swp_categories_en', function (Blueprint $table) {
// $table->string('id', 36)->primary(); $table->string('id', 36)->primary();
// $table->string('category_id', 36); $table->string('category_id', 36);
// $table->string('name'); $table->string('name');
// $table->string('userid_created', 36)->nullable(); $table->string('userid_created', 36)->nullable();
// $table->string('userid_updated', 36)->nullable(); $table->string('userid_updated', 36)->nullable();
// $table->timestamps(); $table->timestamps();
// }); });
} }
/** /**
......
...@@ -13,15 +13,15 @@ class CreatePagesEnTable extends Migration ...@@ -13,15 +13,15 @@ class CreatePagesEnTable extends Migration
*/ */
public function up() public function up()
{ {
// Schema::create('swp_pages_en', function (Blueprint $table) { Schema::create('swp_pages_en', function (Blueprint $table) {
// $table->string('id', 36)->primary(); $table->string('id', 36)->primary();
// $table->string('page_id', 36); $table->string('page_id', 36);
// $table->string('title'); $table->string('title');
// $table->text('content')->nullable(); $table->text('content')->nullable();
// $table->string('userid_created', 36)->nullable(); $table->string('userid_created', 36)->nullable();
// $table->string('userid_updated', 36)->nullable(); $table->string('userid_updated', 36)->nullable();
// $table->timestamps(); $table->timestamps();
// }); });
} }
/** /**
......
...@@ -13,15 +13,15 @@ class CreateInformationsEnTable extends Migration ...@@ -13,15 +13,15 @@ class CreateInformationsEnTable extends Migration
*/ */
public function up() public function up()
{ {
// Schema::create('swp_informations_en', function (Blueprint $table) { Schema::create('swp_informations_en', function (Blueprint $table) {
// $table->string('id', 36)->primary(); $table->string('id', 36)->primary();
// $table->string('information_id', 36); $table->string('information_id', 36);
// $table->string('title'); $table->string('title');
// $table->text('content')->nullable(); $table->text('content')->nullable();
// $table->string('userid_created', 36)->nullable(); $table->string('userid_created', 36)->nullable();
// $table->string('userid_updated', 36)->nullable(); $table->string('userid_updated', 36)->nullable();
// $table->timestamps(); $table->timestamps();
// }); });
} }
/** /**
......
...@@ -13,14 +13,14 @@ class CrateMenuEnTable extends Migration ...@@ -13,14 +13,14 @@ class CrateMenuEnTable extends Migration
*/ */
public function up() public function up()
{ {
// Schema::create('swp_menus_en', function (Blueprint $table) { Schema::create('swp_menus_en', function (Blueprint $table) {
// $table->string('id', 36)->primary(); $table->string('id', 36)->primary();
// $table->string('menu_id', 36); $table->string('menu_id', 36);
// $table->string('name'); $table->string('name');
// $table->string('userid_created', 36)->nullable(); $table->string('userid_created', 36)->nullable();
// $table->string('userid_updated', 36)->nullable(); $table->string('userid_updated', 36)->nullable();
// $table->timestamps(); $table->timestamps();
// }); });
} }
/** /**
......
...@@ -11,17 +11,17 @@ class UpdateKeyMigration extends Migration ...@@ -11,17 +11,17 @@ class UpdateKeyMigration extends Migration
*/ */
public function up() public function up()
{ {
// Schema::table('swp_posts', function (Blueprint $table) { Schema::table('swp_posts', function (Blueprint $table) {
// $table->string('keys')->nullable(); $table->string('keys')->nullable();
// }); });
// Schema::table('swp_pages', function (Blueprint $table) { Schema::table('swp_pages', function (Blueprint $table) {
// $table->string('keys')->nullable(); $table->string('keys')->nullable();
// }); });
// Schema::table('swp_informations', function (Blueprint $table) { Schema::table('swp_informations', function (Blueprint $table) {
// $table->string('keys')->nullable(); $table->string('keys')->nullable();
// }); });
} }
/** /**
......
...@@ -11,20 +11,20 @@ class CreateAutopostTable extends Migration ...@@ -11,20 +11,20 @@ class CreateAutopostTable extends Migration
*/ */
public function up() public function up()
{ {
// Schema::create('swp_autopost', function (Blueprint $table) { Schema::create('swp_autopost', function (Blueprint $table) {
// $table->string('id', 36)->primary(); $table->string('id', 36)->primary();
// $table->string('name'); $table->string('name');
// $table->string('type'); $table->string('type');
// $table->string('key_1')->nullable(); $table->string('key_1')->nullable();
// $table->string('key_2')->nullable(); $table->string('key_2')->nullable();
// $table->string('key_3')->nullable(); $table->string('key_3')->nullable();
// $table->string('key_4')->nullable(); $table->string('key_4')->nullable();
// $table->string('key_5')->nullable(); $table->string('key_5')->nullable();
// $table->string('key_6')->nullable(); $table->string('key_6')->nullable();
// $table->string('userid_created', 36)->nullable(); $table->string('userid_created', 36)->nullable();
// $table->string('userid_updated', 36)->nullable(); $table->string('userid_updated', 36)->nullable();
// $table->timestamps(); $table->timestamps();
// }); });
} }
/** /**
......
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