[Rails] Help...why 'rake migrate' can't be executed on RadRails

Kyle Shank kyle at radrails.org
Wed Feb 1 13:30:51 GMT 2006


We need to provide actual support for rails schemas and will be doing
so in the future.

On 1/21/06, Kouta Osabe <kota0919wasabi at yahoo.co.jp> wrote:
> 'rake migrate' command can't be executed on RadRails?
>
> I found Terminal Window at RadRails and executed 'rake migrate'  on that
> terminal
> many times.but nothing happend,even error messages.
> I made InitialSchema file like these and configured database.yml.
> of course I made database before executing 'rake migrate'
> anyone,get me advice,please
> Tanks
>
> -~kota~
>
> ===================================
> class InitialSchema < ActiveRecord::Migration
>   def self.up
>         create_table :lists do |t|
>                 t.column :title, :string
>                 t.column :created__on, :time
>                 t.column :updated_on, :time
>          end
>
>         create_table :items do |t|
>                 t.column :list_id,    :integer
>                 t.column :note,       :string
>                 t.column :completion, :boolean, :default => false
>                 t.column :position,   :integer
>                 t.column :created_on, :time
>                 t.column :updated_on, :time
>         end
>
>   end
>
>   def self.down
>                 drop_table :lists
>                 drop_table :items
>   end
>
> end
> ===================================
>
>
> -------------------------------------------------------------
>   Kouta Osabe
>
>   E-mail:kota0919wasabi at yahoo.co.jp
>
>   Always Look on the Bright Side of Life! - from Monty Python
> -------------------------------------------------------------
>
> --------------------------------------
> GANBARE! NIPPON!
> Yahoo! JAPAN JOC OFFICIAL INTERNET PORTAL SITE PARTNER
> http://pr.mail.yahoo.co.jp/ganbare-nippon/
> _______________________________________________
> Rails mailing list
> Rails at lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>


More information about the Rails mailing list