summaryrefslogtreecommitdiff
path: root/db/migrate/20170222111732_create_gpg_keys.rb
Commit message (Collapse)AuthorAgeFilesLines
* add unique indexes to gpg_keysAlexis Reigel2017-07-271-1/+2
|
* length constrain on the index, not on the columnAlexis Reigel2017-07-271-3/+3
| | | | | we actually don't need a limit on the column itself for MySQL to work. we need to set a length on the index.
* use db's on_delete instead of has_many :dependentAlexis Reigel2017-07-271-1/+1
|
* use ShaAttribute for gpg table columnsAlexis Reigel2017-07-271-2/+2
|
* merge migrations to 1 single create per tableAlexis Reigel2017-07-271-2/+7
| | | | | | | | also: * reorder table columns * no need for `add_concurrent_index` * no need for explicit index removal on `#down`
* add gpg key modelAlexis Reigel2017-07-271-0/+13