Added acaffold for pins
migrated db