ent/schema: move schema packages into a separate package

Reviewed By: alexsn

Differential Revision: D16763332

fbshipit-source-id: e3e4279c62992de192464c3d3b1036c45687507c
This commit is contained in:
Ariel Mashraki
2019-08-12 07:49:05 -07:00
committed by Facebook Github Bot
parent 230e764b77
commit 108affa8dd
37 changed files with 55 additions and 53 deletions

View File

@@ -9,7 +9,7 @@ import (
"fbc/ent/dialect"
"fbc/ent/dialect/sql"
"fbc/ent/field"
"fbc/ent/schema/field"
)
const (

View File

@@ -7,7 +7,7 @@ import (
"testing"
"fbc/ent/dialect/sql"
"fbc/ent/field"
"fbc/ent/schema/field"
"github.com/DATA-DOG/go-sqlmock"
"github.com/stretchr/testify/require"

View File

@@ -6,7 +6,7 @@ import (
"strings"
"fbc/ent/dialect/sql"
"fbc/ent/field"
"fbc/ent/schema/field"
)
// DefaultStringLen describes the default length for string/varchar types.

View File

@@ -3,7 +3,7 @@ package schema
import (
"testing"
"fbc/ent/field"
"fbc/ent/schema/field"
"github.com/stretchr/testify/require"
)

View File

@@ -5,7 +5,7 @@ import (
"testing"
"fbc/ent/dialect/sql"
"fbc/ent/field"
"fbc/ent/schema/field"
"github.com/DATA-DOG/go-sqlmock"
"github.com/stretchr/testify/require"