Media youtube, title description, CMS Info Content / Header Frontend
This commit is contained in:
parent
c9f3d85d4e
commit
7294ccc1d0
49 changed files with 1283 additions and 148 deletions
|
|
@ -0,0 +1,46 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
|
||||
class CreateCMSInfosTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::connection('mysql_stern')->create('c_m_s_infos', function (Blueprint $table) {
|
||||
$table->increments('id');
|
||||
|
||||
$table->string('name');
|
||||
$table->string('slug')->index()->unique();
|
||||
$table->string('type', 10)->index();
|
||||
|
||||
$table->string('text')->nullable();
|
||||
$table->text('full_text')->nullable();
|
||||
$table->integer('integer')->nullable();
|
||||
$table->decimal('decimal')->nullable();
|
||||
$table->boolean('bool')->default(true);
|
||||
|
||||
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::connection('mysql_stern')->dropIfExists('c_m_s_infos');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,41 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
|
||||
class CreateCMSInfoAvailablesTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::connection('mysql_stern')->create('c_m_s_info_availables', function (Blueprint $table) {
|
||||
$table->increments('id');
|
||||
//local / phone
|
||||
$table->char('type', 5)->index();
|
||||
$table->unsignedTinyInteger('wday')->index();
|
||||
$table->boolean('active')->default(true);
|
||||
|
||||
$table->string('from', 5)->nullable();
|
||||
$table->string('to', 5)->nullable();
|
||||
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::connection('mysql_stern')->dropIfExists('c_m_s_info_availables');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,41 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
|
||||
class CreateCMSInfoHolidaysTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::connection('mysql_stern')->create('c_m_s_info_holidays', function (Blueprint $table) {
|
||||
$table->increments('id');
|
||||
//local / phone
|
||||
$table->boolean('local')->default(false);
|
||||
$table->boolean('phone')->default(false);
|
||||
|
||||
$table->date('from')->nullable();
|
||||
$table->date('to')->nullable();
|
||||
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::connection('mysql_stern')->dropIfExists('c_m_s_info_holidays');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
@ -14,7 +14,64 @@ class DatabaseSeeder extends Seeder
|
|||
// $this->call(UsersTableSeeder::class);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
*
|
||||
INSERT INTO `migrations` (`id`, `migration`, `batch`)
|
||||
VALUES
|
||||
(1, '2019_08_05_171720_create_i_q_content_file_tags_table', 1),
|
||||
(2, '2014_10_12_000000_create_users_table', 1),
|
||||
(3, '2014_10_12_100000_create_password_resets_table', 1),
|
||||
(4, '2018_09_29_145839_create_user_update_emails_table', 1),
|
||||
(5, '2018_09_29_145909_create_countries_table', 1),
|
||||
(6, '2018_10_19_114515_create_drafts_table', 1),
|
||||
(7, '2018_10_19_114519_create_draft_types_table', 1),
|
||||
(8, '2018_10_19_114521_create_draft_items_table', 1),
|
||||
(9, '2018_10_28_134530_create_travel_program_table', 1),
|
||||
(10, '2018_10_28_134531_create_travel_class_table', 2),
|
||||
(11, '2018_10_28_134532_create_travel_program_drafts_table', 2),
|
||||
(12, '2018_10_29_193339_create_booking_draft_items_table', 2),
|
||||
(13, '2018_10_29_193339_create_travel_country_table', 2),
|
||||
(14, '2018_10_29_193349_create_travel_program_country_table', 2),
|
||||
(15, '2018_10_29_202123_create_booking_table', 2),
|
||||
(16, '2018_10_29_202124_create_arrangement_table', 3),
|
||||
(17, '2018_10_29_202125_create_lead_table', 3),
|
||||
(18, '2018_10_29_202126_create_status_table', 3),
|
||||
(19, '2018_12_22_171112_create_page_table', 3),
|
||||
(20, '2019_02_13_154404_create_sidebar_widgets_table', 3),
|
||||
(21, '2019_02_27_113516_create_c_m_s_contents_table', 3),
|
||||
(22, '2019_03_05_114656_create_travel_nationality_table', 3),
|
||||
(23, '2019_03_05_114700_create_travel_nationality_requirement_table', 3),
|
||||
(24, '2019_03_05_114701_create_travel_agenda_table', 3),
|
||||
(25, '2019_03_11_094922_create_travel_guides_table', 3),
|
||||
(26, '2019_03_20_113747_create_travel_users_table', 3),
|
||||
(27, '2019_03_20_132556_create_fewo_lodging_table', 3),
|
||||
(28, '2019_03_20_132557_create_fewo_lodging_group_image_table', 3),
|
||||
(29, '2019_03_20_132557_create_fewo_lodging_group_table', 4),
|
||||
(30, '2019_03_20_132558_create_fewo_lodging_image_table', 4),
|
||||
(31, '2019_03_20_132558_create_fewo_lodging_type_table', 4),
|
||||
(32, '2019_03_20_132559_create_fewo_price_table', 4),
|
||||
(33, '2019_03_20_132600_create_fewo_reservation_table', 4),
|
||||
(34, '2019_03_20_132600_create_fewo_season_table', 4),
|
||||
(35, '2019_03_21_114814_create_travel_booking_fewo_channels_table', 5),
|
||||
(36, '2019_03_21_123748_create_travel_user_booking_fewos_table', 5),
|
||||
(37, '2019_07_19_155842_create_i_q_content_trees_table', 6),
|
||||
(38, '2019_07_19_155853_create_i_q_content_tree_nodes_table', 6),
|
||||
(39, '2019_07_22_102424_create_i_q_content_sites_table', 6),
|
||||
(40, '2019_08_05_171716_create_i_q_content_folders_table', 6),
|
||||
(41, '2019_08_05_171717_create_i_q_content_files_table', 6),
|
||||
(42, '2019_08_05_171718_create_i_q_content_categories_table', 6),
|
||||
(43, '2019_08_05_171719_create_i_q_content_tags_table', 6),
|
||||
(44, '2016_06_01_000001_create_oauth_auth_codes_table', 7),
|
||||
(45, '2016_06_01_000002_create_oauth_access_tokens_table', 7),
|
||||
(46, '2016_06_01_000003_create_oauth_refresh_tokens_table', 7),
|
||||
(47, '2016_06_01_000004_create_oauth_clients_table', 7),
|
||||
(48, '2016_06_01_000005_create_oauth_personal_access_clients_table', 7);
|
||||
|
||||
|
||||
|
||||
INSERT INTO `users` (`name`, `token`, `password` , `email` )
|
||||
VALUES
|
||||
('leoni','bd1e76040fdc152c40a05dd694e9e48e','79270ee1ef65217aca3ed6ca8b691020819bffe5', 'leoni.stern@stern-tours.de'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue