diff options
author | Heiko Bernloehr <Heiko.Bernloehr@FreeIT.de> | 2012-06-24 14:49:10 +0200 |
---|---|---|
committer | Heiko Bernloehr <Heiko.Bernloehr@FreeIT.de> | 2012-06-24 14:49:10 +0200 |
commit | 386fca1e483fce3700f983911edf075540aac2d4 (patch) | |
tree | c7e447be9b507a5e6d0aea068f09a997edd96386 /db | |
parent | 16c26fca39d2dde7a54d61840f3cdefdb3c45cb0 (diff) | |
download | ecs2-386fca1e483fce3700f983911edf075540aac2d4.tar.gz ecs2-386fca1e483fce3700f983911edf075540aac2d4.zip |
Removed ressource_monitor.
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20100802084408_create_ressource_monitors.rb | 33 | ||||
-rw-r--r-- | db/seeds.rb | 2 |
2 files changed, 0 insertions, 35 deletions
diff --git a/db/migrate/20100802084408_create_ressource_monitors.rb b/db/migrate/20100802084408_create_ressource_monitors.rb deleted file mode 100644 index 62c09a2..0000000 --- a/db/migrate/20100802084408_create_ressource_monitors.rb +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright (C) 2007, 2008, 2009, 2010 Heiko Bernloehr (FreeIT.de). -# -# This file is part of ECS. -# -# ECS is free software: you can redistribute it and/or modify it -# under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of -# the License, or (at your option) any later version. -# -# ECS is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public -# License along with ECS. If not, see <http://www.gnu.org/licenses/>. - - -class CreateRessourceMonitors < ActiveRecord::Migration - def self.up - create_table :ressource_monitors do |t| - t.integer :lock_version, :default => 0 - t.integer :touch, :default => 0 - t.string :name - - t.timestamps - end - end - - def self.down - drop_table :ressource_monitors - end -end diff --git a/db/seeds.rb b/db/seeds.rb index 66eb1d8..e15cdbc 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -28,9 +28,7 @@ Organization.create :name => "system", :description => "Internal ECS community." Participant.create :name => "ecs", :description => "ECS system participant", :dns => 'n/a', :community_selfrouting => false, :organization_id => Organization.find_by_name("system").id Community.create :name => "public", :description => "For anonymous participants." -RessourceMonitor.create :name => "queue" %w(created destroyed updated notlinked).each do |evt| EvType.create :name => evt end Ressource.create :namespace => 'sys', :ressource => 'auth', :postroute => true, :events => false - |