Blame view

reset-db 156 Bytes
6d74112b6   Niklas   init
1
2
3
  #!/usr/bin/env ruby
  
  require 'rubygems'
86fb8b2a6   Marius Hanne   fix requires for ...
4
  require './models'
6d74112b6   Niklas   init
5
6
  
  [Expression, Filter].each do |model|
425ee7ea3   Niklas   setting up db works
7
    model.migration.down rescue nil
6d74112b6   Niklas   init
8
9
    model.migration.up
  end