Skip to content
Snippets Groups Projects
Commit 8d3fcdb6 authored by Israel Barreto Sant'Anna's avatar Israel Barreto Sant'Anna
Browse files

Added theme to subjects

parent e62e5cc6
No related branches found
No related tags found
No related merge requests found
class AddThemeToSubjects < ActiveRecord::Migration[5.0]
def change
add_column :subjects, :theme, :boolean, default: false
end
end
......@@ -37,13 +37,13 @@ def subjects
{name:'Química'},
{name:'Sociologia'},
{name:'Outros'},
{name:'Direitos Humanos'},
{name:'Educação Ambiental'},
{name:'Educação do Campo'},
{name:'Educação Especial'},
{name:'Educação Indígena'},
{name:'Educação Quilombola'},
{name:'Educação Sexual'}
{name:'Direitos Humanos', theme: true},
{name:'Educação Ambiental', theme: true},
{name:'Educação do Campo', theme: true},
{name:'Educação Especial', theme: true},
{name:'Educação Indígena', theme: true},
{name:'Educação Quilombola', theme: true},
{name:'Educação Sexual', theme: true}
]
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment