lib/ronin/database/migrations/create_organizations_table.rb in ronin-1.0.0.rc1 vs lib/ronin/database/migrations/create_organizations_table.rb in ronin-1.0.0.rc2

- old
+ new

@@ -15,26 +15,21 @@ # # You should have received a copy of the GNU General Public License # along with Ronin. If not, see <http://www.gnu.org/licenses/>. # -require 'ronin/database/migrations/create_taggings_table' require 'ronin/database/migrations/migrations' module Ronin module Database module Migrations - migration( - :create_organizations_table, - :needs => :create_taggings_table - ) do + migration(:create_organizations_table) do up do create_table :ronin_organizations do column :id, Integer, :serial => true column :name, String, :not_null => true column :description, Text, :not_null => true column :created_at, Time, :not_null => true - column :frozen_tag_list, Text end create_index :ronin_organizations, :name, :unique => true end