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
Copy file name to clipboardExpand all lines: README.md
+21
Original file line number
Diff line number
Diff line change
@@ -59,3 +59,24 @@ The file is usualy found in `/etc/freetds/freetds.conf`. Set the configuration a
59
59
[global]
60
60
# TDS protocol version
61
61
tds version = 5.0
62
+
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;`
65
+
66
+
Example:
67
+
```php
68
+
use Illuminate\Database\Migrations\Migration;
69
+
//use Illuminate\Database\Schema\Blueprint;
70
+
use Uepg\LaravelSybase\Database\Schema\BlueprintSybase as Blueprint;
71
+
72
+
class CreateTable extends Migration
73
+
{
74
+
public function up()
75
+
{
76
+
Schema::create('table_name', function (Blueprint $table) {
0 commit comments