I hereby claim:
- I am robmorgan on github.
- I am rjm (https://keybase.io/rjm) on keybase.
- I have a public key whose fingerprint is 59FA 8CBB F5B8 2094 5A52 A350 86B1 8B48 4530 108C
To claim this, I am signing this object:
| #!/bin/bash | |
| # This script acts as a wrapper to Terraform. | |
| # Is Terraform available? | |
| hash terraform 2>/dev/null || { echo >&2 "I require Terraform but it's not installed or in your path. Aborting."; exit 1; } | |
| # All of the args are mandatory. | |
| if [ $# -lt 3 ]; then | |
| echo "Incorrect usage." | |
| echo "$ ./tf-wrapper.sh plan production ami-XXXYYYZZ" |
| <?php | |
| use Phinx\Migration\AbstractMigration; | |
| class CreateUserTable extends AbstractMigration | |
| { | |
| public function change() | |
| { | |
| $users = $this->table('users'); | |
| $users->addColumn('username', 'string', array('limit' => 20)) |
| variable "do_token" {} | |
| variable "pub_key" {} | |
| variable "pvt_key" {} | |
| variable "ssh_fingerprint" {} | |
| provider "digitalocean" { | |
| token = "${var.do_token}" | |
| } |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| [user] | |
| name = Oskar Szrajer | |
| email = [email protected] | |
| [alias] | |
| br = branch | |
| co = checkout | |
| ci = commit | |
| df = diff | |
| lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit |
| public function change() | |
| { | |
| $table = $this->table('continents', array('id' => false, 'primary_key' => array('name', 'country_id'))); | |
| $table->addColumn('name', 'string') | |
| ->addColumn('country_id', 'integer') | |
| ->addForeignKey('country_id', 'country', 'country_id', $options = array()) | |
| ->save(); | |
| } |
| <?php | |
| use Phinx\Migration\AbstractMigration; | |
| class CreatePostsTable extends AbstractMigration | |
| { | |
| /** | |
| * Migrate Up. | |
| */ | |
| public function up() |
| <?php | |
| use Phinx\Migration\AbstractMigration; | |
| class ExampleMigration extends AbstractMigration | |
| { | |
| /** | |
| * Change Method. | |
| * | |
| * More information on this method is available here: |
| { | |
| "require": { | |
| "robmorgan/phinx": "*" | |
| } | |
| } |