mirror of
https://github.com/ent/ent.git
synced 2026-05-24 09:31:56 +03:00
Merge branch 'master' of https://github.com/day-dreams/ent into day-dreams-master
This commit is contained in:
@@ -35,6 +35,8 @@ var (
|
||||
// WithFixture sets the foreign-key renaming option to the migration when upgrading
|
||||
// ent from v0.1.0 (issue-#285). Defaults to false.
|
||||
WithFixture = schema.WithFixture
|
||||
// WithForeignKeys enables creating foreign-key in schema DDL. This defaults to true.
|
||||
WithForeignKeys = schema.WithForeignKeys
|
||||
)
|
||||
|
||||
// Schema is the API for creating, migrating and dropping a schema.
|
||||
|
||||
Reference in New Issue
Block a user