Mercurial > hg > soundsoftware-site
annotate .svn/pristine/c4/c4eef3c8f942ed60135b6597cc22b94154a6f01a.svn-base @ 1540:322d7b57e5f0 live
Making this work through the api is too complicated for now; this will do OK
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Tue, 02 Jun 2015 10:58:31 +0100 |
parents | 038ba2d95de8 |
children |
rev | line source |
---|---|
Chris@1296 | 1 class AddJournalsPrivateNotes < ActiveRecord::Migration |
Chris@1296 | 2 def up |
Chris@1296 | 3 add_column :journals, :private_notes, :boolean, :default => false, :null => false |
Chris@1296 | 4 end |
Chris@1296 | 5 |
Chris@1296 | 6 def down |
Chris@1296 | 7 remove_column :journals, :private_notes |
Chris@1296 | 8 end |
Chris@1296 | 9 end |