http://guides.rubyonrails.org/migrations.html
- add_column
- add_index
- change_column
- change_table
- create_table
- drop_table
http://guides.rubyonrails.org/migrations.html
| /* | |
| Minimal Obsidian by @kepano | |
| This theme is provided "as is", and is focused on my personal use | |
| of Obsidian. As such I have neither optimized nor tested it with | |
| all the features of Obsidian that I don't frequently use. | |
| Since this theme modifies significant parts of the Obsidian interface, | |
| it might break with future updates. | 
| --type-add=css=.sass,.less,.scss | |
| --type-add=ruby=.rake,.rsel,.builder,.thor | |
| --type-add=html=.haml,.html.erb,.html.haml | |
| --type-add=js=.js.erb,.coffee | |
| --type-set=cucumber=.feature | |
| --type-set=c=.c,.cpp,.ino,.pde,.h | |
| --ignore-dir=vendor | |
| --ignore-dir=log | |
| --ignore-dir=tmp | |
| --ignore-dir=doc | 
| on alfred_script(q) | |
| if application "iTerm2" is running or application "iTerm" is running then | |
| run script " | |
| on run {q} | |
| tell application \"iTerm\" | |
| activate | |
| try | |
| select first window | |
| set onlywindow to true | |
| on error | 
| #!/bin/sh | |
| # | |
| # Pre commit hook to look for missed debug code | |
| DEBUG_REGEX="console\.(debug|info|log|warn)|%pre=|\.to_yaml" | |
| # Add extensions to check here | |
| EXTENSIONS_REGEX="(.html$|.haml$|.erb$|.js$)" | |
| ERRORS_BUFFER="" | |
| TEXT_DEFAULT="\\033[0;39m" | 
| { | |
| // JSCS Configuration File | |
| // See jscs.info for more details | |
| "excludeFiles": [ | |
| "node_modules/**" | |
| ], | |
| "disallowAnonymousFunctions" : null, // Requires that a function expression be named. | |
| "disallowCapitalizedComments" : null, // Requires the first alphabetical character of a comment to be lowercase. | 
| { | |
| // JSHint Configuration File | |
| // See jshint.com/docs/ for more details | |
| "maxerr" : 50, // (int) Maximum error before stopping | |
| // Enforcing | |
| "bitwise" : true, // true: Prohibit bitwise operators (&, |, ^, etc.) | |
| "curly" : true, // true: Require {} for every new block or scope | |
| "eqeqeq" : true, // true: Require triple equals (===) for comparison | 
| /* bling.js */ | |
| window.$ = document.querySelectorAll.bind(document) | |
| Node.prototype.on = window.on = function (name, fn) { | |
| this.addEventListener(name, fn) | |
| } | |
| NodeList.prototype.__proto__ = Array.prototype | 
| { | |
| "remove-empty-rulesets": true, | |
| "always-semicolon": true, | |
| "color-case": "lower", | |
| "block-indent": " ", | |
| "color-shorthand": false, | |
| "element-case": "lower", | |
| "eof-newline": true, | |
| "leading-zero": true, | |
| "quotes": "single", |