parent
be6ae6ef34
commit
a8e029da58
@ -0,0 +1,15 @@
|
||||
class ChangeDefaultLogoForSchool < ActiveRecord::Migration
|
||||
def up
|
||||
execute <<-SQL
|
||||
UPDATE schools SET logo_link = '/images/school/default.png'
|
||||
WHERE id <> 117
|
||||
SQL
|
||||
end
|
||||
|
||||
def down
|
||||
execute <<-SQL
|
||||
UPDATE schools SET logo_link = '/images/transparent.png'
|
||||
WHERE id <> 117
|
||||
SQL
|
||||
end
|
||||
end
|
File diff suppressed because it is too large
Load Diff
After Width: | Height: | Size: 111 KiB |
Loading…
Reference in new issue