Mercurial > hg > soundsoftware-site
annotate .svn/pristine/00/005b22dce38bfa0d4254f9b889284c20d8267418.svn-base @ 1573:8edb54e29f00 dockerise
Minor tweaks
| author | Chris Cannam |
|---|---|
| date | Thu, 03 Aug 2017 20:20:18 +0100 |
| parents | cbb26bc654de |
| children |
| rev | line source |
|---|---|
| Chris@909 | 1 class <%= class_name %> < ActiveRecord::Migration |
| Chris@909 | 2 def self.up |
| Chris@909 | 3 create_table :open_id_authentication_associations, :force => true do |t| |
| Chris@909 | 4 t.integer :issued, :lifetime |
| Chris@909 | 5 t.string :handle, :assoc_type |
| Chris@909 | 6 t.binary :server_url, :secret |
| Chris@909 | 7 end |
| Chris@909 | 8 |
| Chris@909 | 9 create_table :open_id_authentication_nonces, :force => true do |t| |
| Chris@909 | 10 t.integer :timestamp, :null => false |
| Chris@909 | 11 t.string :server_url, :null => true |
| Chris@909 | 12 t.string :salt, :null => false |
| Chris@909 | 13 end |
| Chris@909 | 14 end |
| Chris@909 | 15 |
| Chris@909 | 16 def self.down |
| Chris@909 | 17 drop_table :open_id_authentication_associations |
| Chris@909 | 18 drop_table :open_id_authentication_nonces |
| Chris@909 | 19 end |
| Chris@909 | 20 end |
