Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
webprofile-jwg2024
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Siti Aisah
webprofile-jwg2024
Commits
24b2761a
Commit
24b2761a
authored
Jan 05, 2021
by
Bagus Pambudi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
restore migration
parent
311fcc8f
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
191 additions
and
191 deletions
+191
-191
database/migrations/2014_10_12_100000_create_password_resets_table.php
+5
-5
database/migrations/2019_11_12_102154_create_table_categories.php
+8
-8
database/migrations/2019_11_12_111914_create_categories_file_table.php
+8
-8
database/migrations/2019_11_12_112102_create_design_table.php
+11
-11
database/migrations/2019_11_12_112610_create_files_table.php
+12
-12
database/migrations/2019_11_12_113102_create_galeries_table.php
+10
-10
database/migrations/2019_11_12_113319_create_informations_table.php
+12
-12
database/migrations/2019_11_12_113519_create_menus_table.php
+14
-14
database/migrations/2019_11_12_113857_create_pages_table.php
+17
-17
database/migrations/2019_11_12_114222_create_posts_table.php
+18
-18
database/migrations/2019_11_12_114437_create_sliders_table.php
+10
-10
database/migrations/2020_01_11_145947_create_post_en_table.php
+9
-9
database/migrations/2020_01_11_213206_create_categories_en_table.php
+8
-8
database/migrations/2020_01_12_133042_create_pages_en_table.php
+9
-9
database/migrations/2020_01_12_143401_create_informations_en_table.php
+9
-9
database/migrations/2020_01_12_151736_crate_menu_en_table.php
+8
-8
database/migrations/2020_08_05_104826_update_key_migration.php
+9
-9
database/migrations/2020_08_12_110547_create_autopost_table.php
+14
-14
No files found.
database/migrations/2014_10_12_100000_create_password_resets_table.php
View file @
24b2761a
...
@@ -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
();
//
});
});
}
}
/**
/**
...
...
database/migrations/2019_11_12_102154_create_table_categories.php
View file @
24b2761a
...
@@ -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
();
//
});
});
}
}
/**
/**
...
...
database/migrations/2019_11_12_111914_create_categories_file_table.php
View file @
24b2761a
...
@@ -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
();
//
});
});
}
}
/**
/**
...
...
database/migrations/2019_11_12_112102_create_design_table.php
View file @
24b2761a
...
@@ -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
();
//
});
});
}
}
/**
/**
...
...
database/migrations/2019_11_12_112610_create_files_table.php
View file @
24b2761a
...
@@ -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
();
//
});
});
}
}
/**
/**
...
...
database/migrations/2019_11_12_113102_create_galeries_table.php
View file @
24b2761a
...
@@ -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
();
//
});
});
}
}
/**
/**
...
...
database/migrations/2019_11_12_113319_create_informations_table.php
View file @
24b2761a
...
@@ -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
();
//
});
});
}
}
/**
/**
...
...
database/migrations/2019_11_12_113519_create_menus_table.php
View file @
24b2761a
...
@@ -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
();
//
});
});
}
}
/**
/**
...
...
database/migrations/2019_11_12_113857_create_pages_table.php
View file @
24b2761a
...
@@ -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
();
//
});
});
}
}
/**
/**
...
...
database/migrations/2019_11_12_114222_create_posts_table.php
View file @
24b2761a
...
@@ -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
();
//
});
});
}
}
/**
/**
...
...
database/migrations/2019_11_12_114437_create_sliders_table.php
View file @
24b2761a
...
@@ -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
();
//
});
});
}
}
/**
/**
...
...
database/migrations/2020_01_11_145947_create_post_en_table.php
View file @
24b2761a
...
@@ -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
();
//
});
});
}
}
/**
/**
...
...
database/migrations/2020_01_11_213206_create_categories_en_table.php
View file @
24b2761a
...
@@ -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
();
//
});
});
}
}
/**
/**
...
...
database/migrations/2020_01_12_133042_create_pages_en_table.php
View file @
24b2761a
...
@@ -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
();
//
});
});
}
}
/**
/**
...
...
database/migrations/2020_01_12_143401_create_informations_en_table.php
View file @
24b2761a
...
@@ -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
();
//
});
});
}
}
/**
/**
...
...
database/migrations/2020_01_12_151736_crate_menu_en_table.php
View file @
24b2761a
...
@@ -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
();
//
});
});
}
}
/**
/**
...
...
database/migrations/2020_08_05_104826_update_key_migration.php
View file @
24b2761a
...
@@ -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
();
//
});
});
}
}
/**
/**
...
...
database/migrations/2020_08_12_110547_create_autopost_table.php
View file @
24b2761a
...
@@ -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
();
//
});
});
}
}
/**
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment