Merge branch 'master' of http://54.197.18.130/yashwant/hdfc
Showing
5 changed files
with
331 additions
and
6 deletions
This diff is collapsed.
Click to expand it.
| ... | ... | @@ -103,9 +103,58 @@ class FrameworkDbSchema extends Migration { |
| $table->string('userremarks', 5000); | ||
| $table->longText('userdata'); | ||
| $table->string('group', 200)->index('group'); | ||
| $table->integer('attempt'); | ||
| $table->string('priority', 10); | ||
| $table->longText('question'); | ||
| }); | ||
| DB::statement("ALTER TABLE `crmcalls` ADD INDEX(`created_at`);"); | ||
| Schema::create('crmcalls_archive', function(Blueprint $table) | ||
| { | ||
| $table->bigIncrements('id'); | ||
| $table->timestamps(); | ||
| $table->string('number', 100)->index('number'); | ||
| $table->integer('user_id')->index('user_id'); | ||
| $table->integer('sipid_id'); | ||
| $table->integer('crm_id')->index('crm_id'); | ||
| $table->string('client', 200)->index('campaign_id'); | ||
| $table->string('department', 200)->index('list_id'); | ||
| $table->string('state', 50); | ||
| $table->string('hsource', 100); | ||
| $table->string('type', 50); | ||
| $table->string('statuscode', 20); | ||
| $table->string('status', 100)->index('status'); | ||
| $table->string('substatus', 100); | ||
| $table->integer('dialline_id'); | ||
| $table->string('did', 50)->index('did'); | ||
| $table->bigInteger('ts_Wait'); | ||
| $table->bigInteger('ts_Call'); | ||
| $table->bigInteger('ts_Talk'); | ||
| $table->bigInteger('ts_Recstart'); | ||
| $table->bigInteger('ts_Recend'); | ||
| $table->bigInteger('ts_Dispo'); | ||
| $table->bigInteger('ts_Close'); | ||
| $table->integer('waitSec'); | ||
| $table->integer('callSec'); | ||
| $table->integer('talkSec'); | ||
| $table->integer('recstartSec'); | ||
| $table->integer('recendSec'); | ||
| $table->integer('dispoSec'); | ||
| $table->longText('data'); | ||
| $table->integer('recsize'); | ||
| $table->string('uniqueid', 100)->index('uniqueid'); | ||
| $table->string('userstatus', 200)->index('userstatus'); | ||
| $table->string('usersubstatus', 200); | ||
| $table->dateTime('usercallback'); | ||
| $table->string('userremarks', 5000); | ||
| $table->longText('userdata'); | ||
| $table->string('group', 200)->index('group'); | ||
| $table->integer('attempt'); | ||
| $table->string('priority', 10); | ||
| $table->longText('question'); | ||
| }); | ||
| DB::statement("ALTER TABLE `crmcalls_archive` ADD INDEX(`created_at`);"); | ||
| Schema::create('crmcampaigns', function(Blueprint $table) | ||
| { | ||
| $table->bigIncrements('id'); | ||
| ... | ... | @@ -365,6 +414,13 @@ class FrameworkDbSchema extends Migration { |
| $table->dateTime('dialer_lastcall')->index('dialer_lastcall'); | ||
| $table->integer('crmlist_id')->index('crmlist_id'); | ||
| $table->string('group', 200)->index('group'); | ||
| $table->string('bttc', 20); | ||
| $table->string('service_vs_product', 30); | ||
| $table->string('resolution', 30); | ||
| $table->string('satisfaction', 30); | ||
| $table->string('final_call_assessment', 30); | ||
| $table->longText('question'); | ||
| $table->string('mf_isa', 30); | ||
| }); | ||
| DB::statement('ALTER TABLE `records` ADD FULLTEXT(`peopledata`);'); | ||
| ... | ... | @@ -529,6 +585,15 @@ class FrameworkDbSchema extends Migration { |
| $table->string('clients', 10000); | ||
| }); | ||
| Schema::create('supervisor_message', function(Blueprint $table) { | ||
| $table->bigIncrements("id"); | ||
| $table->timestamps(); | ||
| $table->string("sup_id","20"); | ||
| $table->string("agents","1000"); | ||
| $table->string("message","500"); | ||
| $table->string("status","1000"); | ||
| }); | ||
| Schema::create('userlogs', function(Blueprint $table) | ||
| { | ||
| $table->bigIncrements('id'); | ||
| ... | ... | @@ -572,8 +637,111 @@ class FrameworkDbSchema extends Migration { |
| $table->string('exten', 50); | ||
| $table->string('extencontext', 100); | ||
| $table->string('manager', 200); | ||
| $table->string('dialmode_assign', 20); | ||
| }); | ||
| Schema::create('agent_notes', function(Blueprint $table) { | ||
| $table->bigIncrements('id'); | ||
| $table->timestamps(); | ||
| $table->integer('user_id'); | ||
| $table->string('field_1', 100); | ||
| $table->string('field_2', 100); | ||
| $table->string('field_3', 100); | ||
| $table->string('field_4', 100); | ||
| $table->string('field_5', 100); | ||
| $table->string('field_6', 100); | ||
| $table->string('field_7', 100); | ||
| $table->string('field_8', 100); | ||
| $table->string('field_9', 100); | ||
| $table->string('field_10', 100); | ||
| $table->string('field_11', 100); | ||
| $table->string('field_12', 100); | ||
| $table->string('field_13', 100); | ||
| $table->string('field_14', 100); | ||
| $table->string('field_15', 100); | ||
| $table->string('field_16', 100); | ||
| $table->string('field_17', 100); | ||
| $table->string('field_18', 100); | ||
| $table->string('field_19', 100); | ||
| $table->string('field_20', 100); | ||
| $table->string('field_21', 100); | ||
| $table->string('field_22', 100); | ||
| $table->string('field_23', 100); | ||
| $table->string('field_24', 100); | ||
| $table->string('field_25', 100); | ||
| $table->string('field_26', 100); | ||
| $table->string('field_27', 100); | ||
| $table->string('field_28', 100); | ||
| $table->string('field_29', 100); | ||
| $table->string('field_30', 100); | ||
| $table->string('field_31', 100); | ||
| $table->string('field_32', 100); | ||
| $table->string('field_33', 100); | ||
| $table->string('field_34', 100); | ||
| $table->string('field_35', 100); | ||
| $table->string('field_36', 100); | ||
| $table->string('field_37', 100); | ||
| $table->string('field_38', 100); | ||
| $table->string('field_39', 100); | ||
| $table->string('field_40', 100); | ||
| $table->string('field_41', 100); | ||
| $table->string('field_42', 100); | ||
| $table->string('field_43', 100); | ||
| $table->string('field_44', 100); | ||
| $table->string('field_45', 100); | ||
| $table->string('field_46', 100); | ||
| $table->string('field_47', 100); | ||
| $table->string('field_48', 100); | ||
| $table->string('field_49', 100); | ||
| $table->string('field_50', 100); | ||
| }); | ||
| Schema::create('full_remark', function(Blueprint $table) { | ||
| $table->bigIncrements('id'); | ||
| $table->timestamps(); | ||
| $table->integer('call_id')->index('call_id'); | ||
| $table->string('fullremark', 5000); | ||
| }); | ||
| Schema::create('authentication_questions', function(Blueprint $table) { | ||
| $table->bigIncrements('id'); | ||
| $table->timestamps(); | ||
| $table->integer('question_no'); | ||
| $table->integer('group_id'); | ||
| $table->string('question', 200); | ||
| $table->string('opt_1', 100); | ||
| $table->string('opt_2', 100); | ||
| $table->string('opt_3', 100); | ||
| $table->string('opt_4', 100); | ||
| }); | ||
| Schema::create('question', function(Blueprint $table) { | ||
| $table->bigIncrements('id'); | ||
| $table->timestamps(); | ||
| $table->integer('question_no'); | ||
| $table->string('questions', 500); | ||
| $table->string('opt_1', 200); | ||
| $table->string('opt_2', 200); | ||
| $table->string('opt_3', 200); | ||
| $table->string('opt_4', 200); | ||
| $table->string('opt_5', 200); | ||
| $table->string('opt_6', 200); | ||
| $table->string('opt_7', 200); | ||
| $table->string('opt_8', 200); | ||
| $table->string('opt_9', 200); | ||
| $table->string('opt_10', 200); | ||
| $table->string('type', 100); | ||
| $table->string('compulsory_qes', 30); | ||
| }); | ||
| Schema::create('question_tree', function(Blueprint $table) { | ||
| $table->bigIncrements('id'); | ||
| $table->timestamps(); | ||
| $table->integer('parent_id'); | ||
| $table->string('parent_opt', 200); | ||
| $table->integer('question_id'); | ||
| $table->integer('priority'); | ||
| }); | ||
| $server=Config::get("app.app_ip"); | ||
| ... | ... | @@ -687,10 +855,9 @@ class FrameworkDbSchema extends Migration { |
| \DB::table('sipids')->delete(); | ||
| $cnt=0; | ||
| for($j=1;$j<=20;$j++) | ||
| { | ||
| $sipids=array(); | ||
| for($i=(($j*1000)+1);$i<=(($j*1000)+1000);$i++) | ||
| for($i=1;$i<=1000;$i++) | ||
| { | ||
| $sipids[$cnt++]=array( | ||
| 'id' => $i, | ||
| ... | ... | @@ -705,7 +872,6 @@ class FrameworkDbSchema extends Migration { |
| ); | ||
| } | ||
| \DB::table('sipids')->insert($sipids); | ||
| } | ||
| \DB::table('users')->delete(); | ||
| ... | ... | @@ -714,7 +880,7 @@ class FrameworkDbSchema extends Migration { |
| array ( | ||
| 'id' => 1, | ||
| 'username' => 'admin', | ||
| 'password' => '$2y$10$rMIU1gBhkyJ4eGSTLOzpJu8AcWDxqkh.P1VKtxxpyGI2uoYRrsyIq', | ||
| 'password' => '$2y$10$3IMlygICC0e0A0yZpbes.OiWPg41e0r71MkUOLRbSH5bNPlFqOayS', | ||
| 'fullname' => 'Admin', | ||
| 'email' => '[email protected]', | ||
| 'status' => 'Active', | ... | ... |
complaint_fields.sql
0 → 100644
questionaire_details.sql
0 → 100644
-
Please register or sign in to post a comment