NewSchema creates a new schema client.
(drv dialect.Driver)
| 39 | |
| 40 | // NewSchema creates a new schema client. |
| 41 | func NewSchema(drv dialect.Driver) *Schema { return &Schema{drv: drv} } |
| 42 | |
| 43 | // Create creates all schema resources. |
| 44 | func (s *Schema) Create(ctx context.Context, opts ...schema.MigrateOption) error { |