class CreateActivities extends edu.northwestern.bioinformatics.bering.Migration {
    void up() {
        createTable('activities') { t ->
            t.addColumn('version', 'integer', nullable:false)
            t.addColumn('name', 'string', nullable:false)
            t.addColumn('type', 'string', nullable:false)
        }
        
        createTable('activity_types') { t ->
            t.addColumn('version', 'integer', nullable:false)
            t.addColumn('name', 'string', nullable:false)
        }
    }

    void down() {
        dropTable('activities')
        dropTable('activity_types')
    }
}

Add table for actions library
Add table for actions library

git-svn-id: 4b387fe5ada7764508e2ca96c335714e4c1692c6@88 0d517254-b314-0410-acde-c619094fa49f
