Skip to content

Commit ffed62e

Browse files
Submissions initiated
1 parent 5b7d487 commit ffed62e

File tree

3 files changed

+125
-0
lines changed

3 files changed

+125
-0
lines changed
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
<?php
2+
3+
namespace App\Http\Controllers;
4+
5+
use Illuminate\Http\Request;
6+
7+
class SubmissionsController extends Controller
8+
{
9+
/**
10+
* Display a listing of the resource.
11+
*
12+
* @return \Illuminate\Http\Response
13+
*/
14+
public function index()
15+
{
16+
//
17+
}
18+
19+
/**
20+
* Show the form for creating a new resource.
21+
*
22+
* @return \Illuminate\Http\Response
23+
*/
24+
public function create()
25+
{
26+
//
27+
}
28+
29+
/**
30+
* Store a newly created resource in storage.
31+
*
32+
* @param \Illuminate\Http\Request $request
33+
* @return \Illuminate\Http\Response
34+
*/
35+
public function store(Request $request)
36+
{
37+
//
38+
}
39+
40+
/**
41+
* Display the specified resource.
42+
*
43+
* @param int $id
44+
* @return \Illuminate\Http\Response
45+
*/
46+
public function show($id)
47+
{
48+
//
49+
}
50+
51+
/**
52+
* Show the form for editing the specified resource.
53+
*
54+
* @param int $id
55+
* @return \Illuminate\Http\Response
56+
*/
57+
public function edit($id)
58+
{
59+
//
60+
}
61+
62+
/**
63+
* Update the specified resource in storage.
64+
*
65+
* @param \Illuminate\Http\Request $request
66+
* @param int $id
67+
* @return \Illuminate\Http\Response
68+
*/
69+
public function update(Request $request, $id)
70+
{
71+
//
72+
}
73+
74+
/**
75+
* Remove the specified resource from storage.
76+
*
77+
* @param int $id
78+
* @return \Illuminate\Http\Response
79+
*/
80+
public function destroy($id)
81+
{
82+
//
83+
}
84+
}

DigiKaksha/app/Submission.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?php
2+
3+
namespace App;
4+
5+
use Illuminate\Database\Eloquent\Model;
6+
7+
class Submission extends Model
8+
{
9+
//
10+
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<?php
2+
3+
use Illuminate\Database\Migrations\Migration;
4+
use Illuminate\Database\Schema\Blueprint;
5+
use Illuminate\Support\Facades\Schema;
6+
7+
class CreateSubmissionsTable extends Migration
8+
{
9+
/**
10+
* Run the migrations.
11+
*
12+
* @return void
13+
*/
14+
public function up()
15+
{
16+
Schema::create('submissions', function (Blueprint $table) {
17+
$table->id();
18+
$table->timestamps();
19+
});
20+
}
21+
22+
/**
23+
* Reverse the migrations.
24+
*
25+
* @return void
26+
*/
27+
public function down()
28+
{
29+
Schema::dropIfExists('submissions');
30+
}
31+
}

0 commit comments

Comments
 (0)