#4 ✓invalid
dan (at zeraweb)

rake schema:migration

Reported by dan (at zeraweb) | May 1st, 2008 @ 02:52 PM | in 0.7.5 - Janus

What steps will reproduce the problem?

1. waves foo

2. cd foo

3. Configure default.rb (as suggested by the tutorial)

4. rake schema:migration name=initial_schema

i write the code to initial_schema by(copy past) mistake

def up

def up

create_table :groups do

primary_key :id

text :name

timestamp :created_on

end

end

end

I did not get any error and version goes to 1 (schema_info)

even after modifing the migration i am not able to run it without

reverting version to 0

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Resource-oriented Web apps.

People watching this ticket

Tags

Pages