@@ -7,24 +7,24 @@ |
||
7 | 7 | class CreateNewsTable extends Migration |
8 | 8 | { |
9 | 9 | /** |
10 | - * Run the migrations. |
|
11 | - * |
|
12 | - * @return void |
|
13 | - */ |
|
14 | - public function up() |
|
15 | - { |
|
16 | - // create table 'news' |
|
17 | - Schema::create('news', function (Blueprint $table) { |
|
18 | - $table->increments('id'); |
|
19 | - $table->string('title', 255); |
|
20 | - $table->string('slug', 100)->unique(); |
|
21 | - $table->text('short_description'); |
|
22 | - $table->text('full_content'); |
|
23 | - $table->string('author', 100); |
|
24 | - $table->string('category', 100); |
|
25 | - $table->timestamps(); // timestamps() creates created_at & updated_at fields |
|
26 | - }); |
|
27 | - } |
|
10 | + * Run the migrations. |
|
11 | + * |
|
12 | + * @return void |
|
13 | + */ |
|
14 | + public function up() |
|
15 | + { |
|
16 | + // create table 'news' |
|
17 | + Schema::create('news', function (Blueprint $table) { |
|
18 | + $table->increments('id'); |
|
19 | + $table->string('title', 255); |
|
20 | + $table->string('slug', 100)->unique(); |
|
21 | + $table->text('short_description'); |
|
22 | + $table->text('full_content'); |
|
23 | + $table->string('author', 100); |
|
24 | + $table->string('category', 100); |
|
25 | + $table->timestamps(); // timestamps() creates created_at & updated_at fields |
|
26 | + }); |
|
27 | + } |
|
28 | 28 | |
29 | 29 | /** |
30 | 30 | * Reverse the migrations. |
@@ -14,7 +14,7 @@ |
||
14 | 14 | public function up() |
15 | 15 | { |
16 | 16 | // create table 'news' |
17 | - Schema::create('news', function (Blueprint $table) { |
|
17 | + Schema::create('news', function(Blueprint $table) { |
|
18 | 18 | $table->increments('id'); |
19 | 19 | $table->string('title', 255); |
20 | 20 | $table->string('slug', 100)->unique(); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('providers', function (Blueprint $table) { |
|
16 | + Schema::create('providers', function(Blueprint $table) { |
|
17 | 17 | $table->increments('id'); |
18 | 18 | $table->string('name', 120); |
19 | 19 | $table->string('shortName', 50); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('users', function (Blueprint $table) { |
|
16 | + Schema::create('users', function(Blueprint $table) { |
|
17 | 17 | $table->increments('id'); |
18 | 18 | $table->string('name'); |
19 | 19 | $table->string('email')->unique(); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('location', function (Blueprint $table) { |
|
16 | + Schema::create('location', function(Blueprint $table) { |
|
17 | 17 | $table->increments('id'); |
18 | 18 | $table->string('name', 100); |
19 | 19 | $table->string('shortName', 50); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('courses', function (Blueprint $table) { |
|
16 | + Schema::create('courses', function(Blueprint $table) { |
|
17 | 17 | $table->increments('id'); |
18 | 18 | $table->timestamps(); |
19 | 19 | }); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('brand_type', function (Blueprint $table) { |
|
16 | + Schema::create('brand_type', function(Blueprint $table) { |
|
17 | 17 | $table->increments('id'); |
18 | 18 | $table->string('name', 80); |
19 | 19 | $table->string('description', 120); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('inventory', function (Blueprint $table) { |
|
16 | + Schema::create('inventory', function(Blueprint $table) { |
|
17 | 17 | $table->increments('id'); |
18 | 18 | $table->integer('public_id'); |
19 | 19 | $table->string('name', 80); |
@@ -4,26 +4,26 @@ |
||
4 | 4 | |
5 | 5 | @section('content') |
6 | 6 | |
7 | - <div class="form-group row add"> |
|
8 | - <div class="col-md-12"> |
|
9 | - <h1>Inventory section 1</h1> |
|
10 | - </div> |
|
7 | + <div class = "form-group row add" > |
|
8 | + <div class = "col-md-12" > |
|
9 | + <h1 > Inventory section 1 < /h1 > |
|
10 | + < / div > |
|
11 | 11 | |
12 | - <div class="col-md-12"> |
|
12 | + <div class = "col-md-12" > |
|
13 | 13 | |
14 | - <button type="button" data-toggle="modal" data-target="create-item" class="btn btn-primary"></button> |
|
14 | + <button type = "button" data - toggle = "modal" data - target = "create-item" class = "btn btn-primary" > < / button > |
|
15 | 15 | |
16 | 16 | Create New Provider |
17 | 17 | |
18 | - </div> |
|
18 | + < / div > |
|
19 | 19 | |
20 | - </div> |
|
20 | + < / div > |
|
21 | 21 | |
22 | - <div class="row"> |
|
23 | - <div class=""> |
|
22 | + <div class = "row" > |
|
23 | + <div class = "" > |
|
24 | 24 | |
25 | - </div> |
|
25 | + < / div > |
|
26 | 26 | |
27 | - </div> |
|
27 | + < / div > |
|
28 | 28 | |
29 | 29 | @stop |
30 | 30 | \ No newline at end of file |