??????????????
PK       ! 쟱	   	   
  .gitignorenu &1i        *.sqlite
PK       ! .      seeders/DatabaseSeeder.phpnu &1i        <?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;

class DatabaseSeeder extends Seeder
{
    /**
     * Seed the application's database.
     *
     * @return void
     */
    public function run()
    {
        // \App\Models\User::factory(10)->create();
    }
}
PK       ! :_  _    factories/UserFactory.phpnu &1i        <?php

namespace Database\Factories;

use App\Models\User;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Support\Str;

class UserFactory extends Factory
{
    /**
     * The name of the factory's corresponding model.
     *
     * @var string
     */
    protected $model = User::class;

    /**
     * Define the model's default state.
     *
     * @return array
     */
    public function definition()
    {
        return [
            'name' => $this->faker->name(),
            'email' => $this->faker->unique()->safeEmail(),
            'email_verified_at' => now(),
            'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password
            'remember_token' => Str::random(10),
        ];
    }

    /**
     * Indicate that the model's email address should be unverified.
     *
     * @return \Illuminate\Database\Eloquent\Factories\Factory
     */
    public function unverified()
    {
        return $this->state(function (array $attributes) {
            return [
                'email_verified_at' => null,
            ];
        });
    }
}
PK       ! 9(;    3  migrations/2014_10_12_000000_create_users_table.phpnu &1i        <?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateUsersTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('users', function (Blueprint $table) {
            $table->increments('id');
            $table->string('facebook_id')->unique();
            $table->string('google_id')->unique();
            $table->string('name');
            $table->string('email')->unique();
            $table->string('password');
            $table->enum('promo',[0,1])->default(1);
            $table->rememberToken();
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('users');
    }
}
PK       ! l  l  D  migrations/2019_12_14_000001_create_personal_access_tokens_table.phpnu &1i        <?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

class CreatePersonalAccessTokensTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('personal_access_tokens', function (Blueprint $table) {
            $table->bigIncrements('id');
            $table->morphs('tokenable');
            $table->string('name');
            $table->string('token', 64)->unique();
            $table->text('abilities')->nullable();
            $table->timestamp('last_used_at')->nullable();
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('personal_access_tokens');
    }
}
PK       ! "S4  4  9  migrations/2019_08_19_000000_create_failed_jobs_table.phpnu &1i        <?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

class CreateFailedJobsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('failed_jobs', function (Blueprint $table) {
            $table->id();
            $table->string('uuid')->unique();
            $table->text('connection');
            $table->text('queue');
            $table->longText('payload');
            $table->longText('exception');
            $table->timestamp('failed_at')->useCurrent();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('failed_jobs');
    }
}
PK       ! 7    =  migrations/2014_10_12_100000_create_password_resets_table.phpnu &1i        <?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreatePasswordResetsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('password_resets', function (Blueprint $table) {
            $table->string('email')->index();
            $table->string('token');
            $table->timestamp('created_at')->nullable();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('password_resets');
    }
}
PK       ! m        seeds/DatabaseSeeder.phpnu &1i        <?php

use Illuminate\Database\Seeder;

class DatabaseSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        // $this->call(UsersTableSeeder::class);
    }
}
PK       ! d    6  migrations/2019_10_17_133755_create_accounts_table.phpnu &1i        <?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

class CreateAccountsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('accounts', function (Blueprint $table) {
            $table->bigIncrements('id');
            $table->integer('user_id');
            $table->string('picture');
            $table->string('status');
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('accounts');
    }
}
PK       ! B       factories/ModelFactory.phpnu &1i        <?php

/*
|--------------------------------------------------------------------------
| Model Factories
|--------------------------------------------------------------------------
|
| Here you may define all of your model factories. Model factories give
| you a convenient way to create models for testing and seeding your
| database. Just tell the factory how a default model should look.
|
*/

/** @var \Illuminate\Database\Eloquent\Factory $factory */
$factory->define(App\User::class, function (Faker\Generator $faker) {
    static $password;

    return [
        'name' => $faker->name,
        'email' => $faker->unique()->safeEmail,
        'password' => $password ?: $password = bcrypt('secret'),
        'remember_token' => str_random(10),
    ];
});
PK       ! ٝ'@  @  7  migrations/2018_01_20_165254_create_schedules_table.phpnu &1i        <?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateSchedulesTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('schedules', function (Blueprint $table) {
            $table->increments('id');
            $table->integer('manager_id');
            $table->integer('saloon_id');
            $table->integer('artist_id');
            $table->text('days');
            $table->text('hours');
            $table->string('status');
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('schedules');
    }
}
PK       ! ip  p  6  migrations/2019_08_15_100126_create_piercing_table.phpnu &1i        <?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Eloquent\Model;

class CreatePiercingTable extends Migration {

    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Model::unguard();
        Schema::create('piercing',function(Blueprint $table){
            $table->increments("id");
            $table->string("name");
            $table->string("interval")->nullable();
            $table->string("picture")->nullable();
            $table->text("body")->nullable();
            $table->string("type")->nullable();
            $table->timestamps();
            $table->softDeletes();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::drop('piercing');
    }

}PK       ! -
Z  Z  2  migrations/2017_08_16_064239_create_size_table.phpnu &1i        <?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Eloquent\Model;

class CreateSizeTable extends Migration {

    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Model::unguard();
        Schema::create('size',function(Blueprint $table){
            $table->increments("id");
            $table->string("size");
            $table->integer("catalogs_id")->references("id")->on("catalogs")->nullable();
            $table->string("price")->nullable();
            $table->string("coef")->nullable();
            $table->timestamps();
            $table->softDeletes();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::drop('size');
    }

}PK       ! |KT    6  migrations/2017_08_09_095845_create_catalogs_table.phpnu &1i        <?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Eloquent\Model;

class CreateCatalogsTable extends Migration {

    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Model::unguard();
        Schema::create('catalogs',function(Blueprint $table){
            $table->increments("id");
            $table->string("name");
            $table->string("price")->nullable();
            $table->string("interval")->nullable();
            $table->string("picture")->nullable();
            $table->text("body")->nullable();
            $table->enum("showhide", ["show", "hide", ])->nullable();
            $table->string("type")->nullable();
            $table->timestamps();
            $table->softDeletes();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::drop('catalogs');
    }

}PK       ! f`    ;  migrations/2018_01_27_192606_create_shcedule_days_table.phpnu &1i        <?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateShceduleDaysTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('shcedule_days', function (Blueprint $table) {
            $table->increments('id');
            $table->integer('manager_id');
            $table->integer('client_id');
            $table->integer('saloon_id');
            $table->integer('artist_id');
            $table->text('day');
            $table->text('hours');
            $table->text('body');
            $table->string('status');
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('shcedule_days');
    }
}
PK       !     <  migrations/2017_12_27_083021_create_artistschanges_table.phpnu &1i        <?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateArtistschangesTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('artistschanges', function (Blueprint $table) {
            $table->increments('id');
            $table->integer('manager_id');
            $table->integer('order_id');
            $table->integer('artist_old_id');
            $table->integer('artist_new_id');
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('artistschanges');
    }
}
PK       ! ip  p  6  migrations/2019_04_17_221918_create_piercing_table.phpnu &1i        <?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Eloquent\Model;

class CreatePiercingTable extends Migration {

    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Model::unguard();
        Schema::create('piercing',function(Blueprint $table){
            $table->increments("id");
            $table->string("name");
            $table->string("interval")->nullable();
            $table->string("picture")->nullable();
            $table->text("body")->nullable();
            $table->string("type")->nullable();
            $table->timestamps();
            $table->softDeletes();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::drop('piercing');
    }

}PK       ! LC+    =  migrations/2017_12_27_083536_create_orders_archives_table.phpnu &1i        <?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateOrdersArchivesTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('orders_archives', function (Blueprint $table) {
            $table->increments('id');
            $table->integer("order_id")->references("id")->on("orders")->nullable();
            $table->integer("user_id")->references("id")->on("user")->nullable();
            $table->integer('manager_id');
            $table->string("width")->nullable();
            $table->string("height")->nullable();
            $table->string("size")->nullable();
            $table->integer("catalogs_id")->references("id")->on("catalogs")->nullable();
            $table->integer("saloon_id")->references("id")->on("saloon")->nullable();
            $table->integer("artist_id")->references("id")->on("artist")->nullable();
            $table->string("picture")->nullable();
            $table->string("picture_data")->nullable();
            $table->string("price")->nullable();
            $table->string("putdate")->nullable();
            $table->string("putdate_end")->nullable();
            $table->string("body")->nullable();
            $table->string("status")->nullable();
            $table->string("changed")->text();
            $table->enum("type", ["client", "manager_change", "manager_new"])->default("client");
            $table->timestamps();
            $table->softDeletes();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('orders_archives');
    }
}
PK       ! 	  	  8  migrations/2020_09_21_103001_create_promotions_table.phpnu &1i        <?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreatePromotionsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('promotions', function (Blueprint $table) {
            $table->increments('id');
            $table->text('body');
            $table->integer('saloon_id');
            $table->string('type')->nullable();
            $table->integer('user_id')->nullable();
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('promotions');
    }
}
PK       ! ip  p  6  migrations/2018_08_27_222131_create_piercing_table.phpnu &1i        <?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Eloquent\Model;

class CreatePiercingTable extends Migration {

    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Model::unguard();
        Schema::create('piercing',function(Blueprint $table){
            $table->increments("id");
            $table->string("name");
            $table->string("interval")->nullable();
            $table->string("picture")->nullable();
            $table->text("body")->nullable();
            $table->string("type")->nullable();
            $table->timestamps();
            $table->softDeletes();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::drop('piercing');
    }

}PK       ! gBb  b  4  migrations/2017_08_09_105821_create_orders_table.phpnu &1i        <?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Eloquent\Model;

class CreateOrdersTable extends Migration {

    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Model::unguard();
        Schema::create('orders',function(Blueprint $table){
            $table->increments("id");
            $table->integer("user_id")->references("id")->on("user")->nullable();
            $table->integer('manager_id');
            $table->string("width")->nullable();
            $table->string("height")->nullable();
            $table->string("size")->nullable();
            $table->integer("catalogs_id")->references("id")->on("catalogs")->nullable();
            $table->integer("saloon_id")->references("id")->on("saloons")->nullable();
            $table->integer("artist_id")->references("id")->on("artist")->nullable();
            $table->string("picture")->nullable();
            $table->string("picture_data")->nullable();
            $table->string("price")->nullable();
            $table->string("putdate")->nullable();
            $table->string("putdate_end")->nullable();
            $table->string("body")->nullable();
            $table->string("status")->nullable();
            $table->enum("type", ["client", "manager_change", "manager_new"])->default("client");
            $table->timestamps();
            $table->softDeletes();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::drop('orders');
    }

}PK       ! y    8  migrations/2015_12_11_000000_create_users_logs_table.phpnu &1i        <?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateUsersLogsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('users_logs', function (Blueprint $table) {
            $table->increments('id');
            $table->integer('user_id');
            $table->string('action');
            $table->string('action_model')->nullable();
            $table->integer('action_id')->nullable();
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::drop('users_logs');
    }
}
PK       ! lU    <  migrations/2017_12_20_190827_create_ordersmanagers_table.phpnu &1i        <?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateOrdersmanagersTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('ordersmanagers', function (Blueprint $table) {
            $table->increments('id');
            $table->integer("order_id")->references("id")->on("orders")->nullable();
            $table->integer("user_id")->references("id")->on("user")->nullable();
            $table->integer('manager_id');
            $table->string("width")->nullable();
            $table->string("height")->nullable();
            $table->string("size")->nullable();
            $table->integer("catalogs_id")->references("id")->on("catalogs")->nullable();
            $table->integer("saloon_id")->references("id")->on("saloon")->nullable();
            $table->integer("artist_id")->references("id")->on("artist")->nullable();
            $table->string("picture")->nullable();
            $table->string("picture_data")->nullable();
            $table->string("price")->nullable();
            $table->string("putdate")->nullable();
            $table->string("putdate_end")->nullable();
            $table->string("body")->nullable();
            $table->string("status")->nullable();
            $table->enum("type", ["client", "manager_change", "manager_new"])->default("client");
            $table->timestamps();
            $table->softDeletes();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('ordersmanagers');
    }
}
PK       ! jw@  @  3  migrations/2015_10_10_000000_create_roles_table.phpnu &1i        <?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateRolesTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('roles', function (Blueprint $table) {
            $table->increments('id');
            $table->string('title');
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::drop('roles');
    }
}
PK       ! :    7  migrations/2019_05_22_074345_create_contracts_table.phpnu &1i        <?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateContractsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('contracts', function (Blueprint $table) {
            $table->increments('id');
            $table->string('name');
            $table->string('email');
            $table->string('phone');
            $table->string('putdate');
            $table->string('type');
            $table->string('fact');
            $table->enum('promo',[0,1])->default(1);
            $table->text('signature');
            $table->integer('saloon_id');
            $table->integer('user_id');
            $table->string('more');
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('contracts');
    }
}
PK       ! k>M  M  3  migrations/2016_03_14_000000_update_menus_table.phpnu &1i        <?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;

class UpdateMenusTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('menus', function (Blueprint $table) {
            $table->dropColumn('roles')->nullable();
        });
        Schema::create('menu_role', function (Blueprint $table) {
            $table->integer('menu_id')->unsigned()->index();
            $table->foreign('menu_id')->references('id')->on('menus')->onDelete('cascade');
            $table->integer('role_id')->unsigned()->index();
            $table->foreign('role_id')->references('id')->on('roles')->onDelete('cascade');
            $table->unique(['menu_id', 'role_id']);
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::drop('menu_role');
        Schema::table('menus', function (Blueprint $table) {
            $table->string('roles')->nullable()->after('parent_id');
        });
    }
}
PK       ! s  s  7  migrations/2018_03_15_201840_create_galleries_table.phpnu &1i        <?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Eloquent\Model;

class CreateGalleriesTable extends Migration {

    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Model::unguard();
        Schema::create('galleries',function(Blueprint $table){
            $table->increments("id");
            $table->string("name")->nullable();
            $table->string("picture")->nullable();
            $table->integer("artist_id")->references("id")->on("artist")->nullable();
            $table->string("type")->nullable();
            $table->timestamps();
            $table->softDeletes();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::drop('galleries');
    }

}PK       ! wp  p  3  migrations/2015_10_10_000000_create_menus_table.phpnu &1i        <?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateMenusTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('menus', function (Blueprint $table) {
            $table->increments('id');
            $table->integer('position')->nullable();
            $table->integer('menu_type')->default(1);
            $table->string('icon')->nullable();
            $table->string('name')->unique();
            $table->string('title');
            $table->integer('parent_id')->nullable();
            $table->string('roles')->nullable();
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::drop('menus');
    }
}
PK       ! Je    3  migrations/2017_08_02_195509_create_blogs_table.phpnu &1i        <?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Eloquent\Model;

class CreateBlogsTable extends Migration {

    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Model::unguard();
        Schema::create('blogs',function(Blueprint $table){
            $table->increments("id");
            $table->string("name");
            $table->text("small_body")->nullable();
            $table->text("body")->nullable();
            $table->string("picture")->nullable();
            $table->date("putdate")->nullable();
            $table->tinyInteger("showhide")->default(1)->nullable();
            $table->string("url")->nullable();
            $table->timestamps();
            $table->softDeletes();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::drop('blogs');
    }

}PK       ! {I    7  migrations/2017_08_01_114750_create_maintexts_table.phpnu &1i        <?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Eloquent\Model;

class CreateMaintextsTable extends Migration {

    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Model::unguard();
        Schema::create('maintexts',function(Blueprint $table){
            $table->increments("id");
            $table->string("name")->nullable();
            $table->text("body")->nullable();
            $table->string("url");
            $table->string("picture");
            $table->string("type")->nullable();
            $table->enum("showhide", ["show", "hide"])->default('show');
            $table->timestamps();
            $table->softDeletes();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::drop('maintexts');
    }

}PK       ! *bv  v  5  migrations/2017_08_24_071647_create_picture_table.phpnu &1i        <?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Eloquent\Model;

class CreatePictureTable extends Migration {

    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Model::unguard();
        Schema::create('picture',function(Blueprint $table){
            $table->increments("id");
            $table->string("picture");
            $table->string("user_id")->nullable();
            $table->string("ip");
            $table->enum("showhide", ["show", "hide", ])->nullable();
            $table->string("type")->nullable();
            $table->timestamps();
            $table->softDeletes();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::drop('picture');
    }

}PK       ! Aݵ    4  migrations/2017_08_16_111555_create_artist_table.phpnu &1i        <?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Eloquent\Model;

class CreateArtistTable extends Migration {

    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Model::unguard();
        Schema::create('artist',function(Blueprint $table){
            $table->increments("id");
            $table->string("name");
            $table->text("body")->nullable();
            $table->integer("saloon_id")->references("id")->on("saloon")->nullable();
            $table->string("picture")->nullable();
            $table->string("categories")->nullable();
            $table->string("contacts")->nullable();
            $table->enum("showhide", ["show", "hide", ])->nullable();
            $table->timestamps();
            $table->softDeletes();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::drop('artist');
    }

}PK       ! o0ǵ    4  migrations/2017_07_27_124643_create_saloon_table.phpnu &1i        <?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Eloquent\Model;

class CreateSaloonTable extends Migration {

    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Model::unguard();
        Schema::create('saloon',function(Blueprint $table){
            $table->increments("id");
            $table->string("name");
            $table->string("address")->nullable();
            $table->text("body")->nullable();
            $table->string("picture")->nullable();
            $table->enum("showhide", ["show", "hide", ])->nullable();
            $table->string("manager_id")->nullable();
            $table->timestamps();
            $table->softDeletes();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::drop('saloon');
    }

}PK       ! )h    3  migrations/2015_10_10_000000_update_users_table.phpnu &1i        <?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class UpdateUsersTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('users', function (Blueprint $table) {
            $table->integer('role_id')->nullable()->after('id')->references('id')->on('roles');
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::table('users', function (Blueprint $table) {
            $table->dropColumn('role_id');
        });
    }
}
PK       ! 1<PU  U  >  migrations/2018_05_12_110150_create_schedule_excepts_table.phpnu &1i        <?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateScheduleExceptsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('schedule_excepts', function (Blueprint $table) {
            $table->increments('id');
            $table->integer('manager_id');
            $table->integer('saloon_id');
            $table->integer('artist_id');
            $table->string('day');
            $table->text('hours');
            $table->string('status');
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('schedule_excepts');
    }
}
PK       ! "T    4  migrations/2017_09_16_104628_create_styles_table.phpnu &1i        <?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Eloquent\Model;

class CreateStylesTable extends Migration {

    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Model::unguard();
        Schema::create('styles',function(Blueprint $table){
            $table->increments("id");
            $table->string("name");
            $table->text("body")->nullable();
            $table->integer("catalogs_id")->references("id")->on("catalogs")->nullable();
            $table->string("picture")->nullable();
            $table->enum("showhide", ["show", "hide", ])->nullable();
            $table->timestamps();
            $table->softDeletes();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::drop('styles');
    }

}PK       ! _=_    6  migrations/2018_08_23_111144_create_piercing_table.phpnu &1i        <?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Eloquent\Model;

class CreatePiercingTable extends Migration {

    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Model::unguard();
        Schema::create('piercing',function(Blueprint $table){
            $table->increments("id");
            $table->string("name");
            $table->string("interval")->nullable();
            $table->string("picture")->nullable();
            $table->string("picture_fra")->nullable();
            $table->text("body")->nullable();
            $table->string("type")->nullable();
            $table->timestamps();
            $table->softDeletes();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::drop('piercing');
    }

}PK         ! 쟱	   	   
                .gitignorenu &1i        PK         ! .                C   seeders/DatabaseSeeder.phpnu &1i        PK         ! :_  _                factories/UserFactory.phpnu &1i        PK         ! 9(;    3            O  migrations/2014_10_12_000000_create_users_table.phpnu &1i        PK         ! l  l  D            _
  migrations/2019_12_14_000001_create_personal_access_tokens_table.phpnu &1i        PK         ! "S4  4  9            ?  migrations/2019_08_19_000000_create_failed_jobs_table.phpnu &1i        PK         ! 7    =              migrations/2014_10_12_100000_create_password_resets_table.phpnu &1i        PK         ! m                    seeds/DatabaseSeeder.phpnu &1i        PK         ! d    6            -  migrations/2019_10_17_133755_create_accounts_table.phpnu &1i        PK         ! B                 ^  factories/ModelFactory.phpnu &1i        PK         ! ٝ'@  @  7              migrations/2018_01_20_165254_create_schedules_table.phpnu &1i        PK         ! ip  p  6            H   migrations/2019_08_15_100126_create_piercing_table.phpnu &1i        PK         ! -
Z  Z  2            $  migrations/2017_08_16_064239_create_size_table.phpnu &1i        PK         ! |KT    6            '  migrations/2017_08_09_095845_create_catalogs_table.phpnu &1i        PK         ! f`    ;            ',  migrations/2018_01_27_192606_create_shcedule_days_table.phpnu &1i        PK         !     <            (0  migrations/2017_12_27_083021_create_artistschanges_table.phpnu &1i        PK         ! ip  p  6            3  migrations/2019_04_17_221918_create_piercing_table.phpnu &1i        PK         ! LC+    =            7  migrations/2017_12_27_083536_create_orders_archives_table.phpnu &1i        PK         ! 	  	  8            >  migrations/2020_09_21_103001_create_promotions_table.phpnu &1i        PK         ! ip  p  6            KB  migrations/2018_08_27_222131_create_piercing_table.phpnu &1i        PK         ! gBb  b  4            !F  migrations/2017_08_09_105821_create_orders_table.phpnu &1i        PK         ! y    8            L  migrations/2015_12_11_000000_create_users_logs_table.phpnu &1i        PK         ! lU    <            4P  migrations/2017_12_20_190827_create_ordersmanagers_table.phpnu &1i        PK         ! jw@  @  3            ]W  migrations/2015_10_10_000000_create_roles_table.phpnu &1i        PK         ! :    7             Z  migrations/2019_05_22_074345_create_contracts_table.phpnu &1i        PK         ! k>M  M  3            l^  migrations/2016_03_14_000000_update_menus_table.phpnu &1i        PK         ! s  s  7            c  migrations/2018_03_15_201840_create_galleries_table.phpnu &1i        PK         ! wp  p  3            f  migrations/2015_10_10_000000_create_menus_table.phpnu &1i        PK         ! Je    3            j  migrations/2017_08_02_195509_create_blogs_table.phpnu &1i        PK         ! {I    7            o  migrations/2017_08_01_114750_create_maintexts_table.phpnu &1i        PK         ! *bv  v  5            s  migrations/2017_08_24_071647_create_picture_table.phpnu &1i        PK         ! Aݵ    4            v  migrations/2017_08_16_111555_create_artist_table.phpnu &1i        PK         ! o0ǵ    4            e{  migrations/2017_07_27_124643_create_saloon_table.phpnu &1i        PK         ! )h    3            ~  migrations/2015_10_10_000000_update_users_table.phpnu &1i        PK         ! 1<PU  U  >            h  migrations/2018_05_12_110150_create_schedule_excepts_table.phpnu &1i        PK         ! "T    4            +  migrations/2017_09_16_104628_create_styles_table.phpnu &1i        PK         ! _=_    6            5  migrations/2018_08_23_111144_create_piercing_table.phpnu &1i        PK  