Minor error applying patch:

+
warning: 1 line adds whitespace errors.
81a935a3404789ec778428916440f3a425a2834e
src/app/views/pool/accounts.html.erb:1: new blank line at EOF.

On Thu, Apr 1, 2010 at 3:30 PM, Scott Seago <[email protected]> wrote:

> You'll need to re-generate your data model after applying this patch.
>
> diff --git a/src/db/migrate/20090803141507_create_pools.rb
> b/src/db/migrate/20090803141507_create_pools.rb
> new file mode 100644
> index 0000000..5552869
> --- /dev/null
> +++ b/src/db/migrate/20090803141507_create_pools.rb
> @@ -0,0 +1,39 @@
> +#
> +# Copyright (C) 2009 Red Hat, Inc.
> +#
> +# This program is free software; you can redistribute it and/or modify
> +# it under the terms of the GNU General Public License as published by
> +# the Free Software Foundation; version 2 of the License.
> +#
> +# This program 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 General Public License for more details.
> +#
> +# You should have received a copy of the GNU General Public License
> +# along with this program; if not, write to the Free Software
> +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
> +# MA  02110-1301, USA.  A copy of the GNU General Public License is
> +# also available at http://www.gnu.org/copyleft/gpl.html.
> +
> +# Filters added to this controller apply to all controllers in the
> application.
> +# Likewise, all the methods added will be available for all controllers.
> +
> +class CreatePools < ActiveRecord::Migration
> +  def self.up
> +    create_table :pools do |t|
> +      t.string :name, :null => false
> +      t.string :exported_as
> +      t.integer :owner_id, :null => false
> +      t.integer :quota_id
> +      t.integer :lock_version, :default => 0
> +      t.timestamps
> +    end
> +
> +  end
> +
> +  def self.down
> +    drop_table :cloud_accounts_pools
>

Minor thing - this table ^ does not seem to exist, so I dont think it needs
to be listed here, unless I am missing something.  listing tables in my dev
db does not show it.


> +    drop_table :pools
> +  end
> +end
>
>
Other than that, ACK, I have reviewed the changes, run the tests, and set up
a new instance, everything seems to work as it should
_______________________________________________
deltacloud-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/deltacloud-devel

Reply via email to