github.com/friesencr/pop/v6@v6.1.6/schema_migrations_appengine.go (about)

     1  //go:build appengine
     2  // +build appengine
     3  
     4  package pop
     5  
     6  import "github.com/gobuffalo/fizz"
     7  
     8  func newSchemaMigrations(name string) fizz.Table {
     9  	return fizz.Table{
    10  		Name: name,
    11  		Columns: []fizz.Column{
    12  			{
    13  				Name:    "version",
    14  				ColType: "string",
    15  				Options: map[string]interface{}{
    16  					"size": 14, // len(YYYYMMDDhhmmss)
    17  				},
    18  			},
    19  		},
    20  		Indexes: []fizz.Index{},
    21  	}
    22  }