<?php

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

class AddTimestampAllTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('consolidations', function (Blueprint $table) {
            $table->timestamps();
        });

        Schema::table('paats', function (Blueprint $table) {
            $table->timestamps();
        });

        Schema::table('statuts', function (Blueprint $table) {
            $table->timestamps();
        });

        Schema::table('structures', function (Blueprint $table) {
            $table->timestamps();
        });

        Schema::table('thematiques', function (Blueprint $table) {
            $table->timestamps();
        });

        Schema::table('actions', function (Blueprint $table) {
            $table->timestamps();
        });

        Schema::table('familles', function (Blueprint $table) {
            $table->timestamps();
        });

        Schema::table('domaines', function (Blueprint $table) {
            $table->timestamps();
        });

        Schema::table('categories', function (Blueprint $table) {
            $table->timestamps();
        });

        Schema::table('segments', function (Blueprint $table) {
            $table->timestamps();
        });

        Schema::table('leviers', function (Blueprint $table) {
            $table->timestamps();
        });

        Schema::table('directions', function (Blueprint $table) {
            $table->timestamps();
        });

        Schema::table('services', function (Blueprint $table) {
            $table->timestamps();
        });

        Schema::table('users', function (Blueprint $table) {
            $table->timestamps();
        });

        Schema::table('portefeuilles_responsables_achats', function (Blueprint $table) {
            $table->timestamps();
        });

        Schema::table('portefeuilles_acheteurs', function (Blueprint $table) {
            $table->timestamps();
        });

        Schema::table('niveaux_mutualisations', function (Blueprint $table) {
            $table->timestamps();
        });

        Schema::table('operateurs_mutualisations', function (Blueprint $table) {
            $table->timestamps();
        });

        Schema::table('imputations_budgetaires', function (Blueprint $table) {
            $table->timestamps();
        });

        Schema::table('alertes', function (Blueprint $table) {
            $table->timestamps();
        });

        Schema::table('projets', function (Blueprint $table) {
            $table->timestamps();
        });

        Schema::table('fichiers', function (Blueprint $table) {
            $table->timestamps();
        });

        Schema::table('fichiers_has_projets', function (Blueprint $table) {
            $table->timestamps();
        });

        Schema::table('leviers_projets', function (Blueprint $table) {
            $table->timestamps();
        });

        Schema::table('membres_projets', function (Blueprint $table) {
            $table->timestamps();
        });

        Schema::table('projets_statuts', function (Blueprint $table) {
            $table->timestamps();
        });

        Schema::table('montants_achats_complexes_projets', function (Blueprint $table) {
            $table->timestamps();
        });

        Schema::table('gains_achats_complexes_projets', function (Blueprint $table) {
            $table->timestamps();
        });

        Schema::table('etapes_projets', function (Blueprint $table) {
            $table->timestamps();
        });

        Schema::table('alertes_envoyees', function (Blueprint $table) {
            $table->timestamps();
        });

        Schema::table('achats_complexes_projets', function (Blueprint $table) {
            $table->timestamps();
        });

        Schema::table('projets_actions_resp_soc_env', function (Blueprint $table) {
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        //
    }
}
