Skip to content

Instantly share code, notes, and snippets.

// run with: go run embedded_structs.go
package main
import (
"encoding/json"
"fmt"
)
type ProductFields struct {
ID uint `json:"id"`
@cwinters
cwinters / gist:5084446
Last active December 14, 2015 12:09 — forked from seejee/gist:5031415
2013-03-05 Deployment info

Before anything do a non-preboot deployment:

$ bundle exec rake ttm:deploy:production    

Be warned: this will restart the app.

Once that's done the next set of migration tasks can be done in any order, or in parallel.