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
-
Matthew King June 1st, 2008 @ 02:44 PM
def up def up create_table :groups do primary_key :id text :name timestamp :created_on end end end
-
Matthew King June 1st, 2008 @ 02:45 PM
Above code is the formatted version of the original bug report.
-
Matthew King June 9th, 2008 @ 02:28 PM
- Assigned user changed from dan (at zeraweb) to Matthew King
-
Matthew King June 12th, 2008 @ 07:35 AM
- Milestone set to 0.7.5 - Janus
-
Matthew King June 14th, 2008 @ 08:18 AM
- State changed from new to invalid
Our code just passes the migration directory to Sequel::Migrator.apply.
Closing.
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.
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.