You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -47,36 +54,61 @@ Update your ./config./database.php's default driver with the settings for the **
47
54
'charset' => 'utf8',
48
55
'prefix' => '',
49
56
],
57
+
58
+
...
59
+
],
60
+
61
+
...
62
+
]
50
63
```
51
64
52
65
53
-
###Configuration of freetds driver
66
+
## Configuration of freetds driver
54
67
55
-
In Linux systems the driver version must be set in `freetds.conf` file to the right use of charset pages.
68
+
In Linux systems the driver version must be set in **freetds.conf** file to the right use of charset pages.
56
69
57
-
The file is usualy found in `/etc/freetds/freetds.conf`. Set the configuration at global section as the following example:
70
+
The file is usualy found in **/etc/freetds/freetds.conf**. Set the configuration at global section as the following example:
58
71
59
-
[global]
60
-
# TDS protocol version
61
-
tds version = 5.0
72
+
```text
73
+
[global]
74
+
# TDS protocol version
75
+
tds version = 5.0
76
+
```
77
+
78
+
## Setting to use numeric data type
62
79
63
-
### Setting to use numeric data type
64
-
In the migration file you must replace include `use Illuminate\Database\Schema\Blueprint;` with include `use Uepg\LaravelSybase\Database\Schema\BlueprintSybase as Blueprint;`
80
+
In the migration file you must replace `use Illuminate\Database\Schema\Blueprint;` with `use Uepg\LaravelSybase\Database\Schema\BlueprintSybase as Blueprint;`. See the following example:
65
81
66
-
Example:
67
82
```php
68
-
use Illuminate\Database\Migrations\Migration;
69
-
//use Illuminate\Database\Schema\Blueprint;
70
-
use Uepg\LaravelSybase\Database\Schema\BlueprintSybase as Blueprint;
83
+
<?php
84
+
85
+
use Illuminate\Support\Facades\Schema;
86
+
// use Illuminate\Database\Schema\Blueprint;
87
+
use Uepg\LaravelSybase\Database\Schema\BlueprintSybase as Blueprint;
88
+
use Illuminate\Database\Migrations\Migration;
71
89
72
90
class CreateTable extends Migration
73
91
{
92
+
/**
93
+
* Run the migrations.
94
+
*
95
+
* @return void
96
+
*/
74
97
public function up()
75
98
{
76
99
Schema::create('table_name', function (Blueprint $table) {
0 commit comments