rake schema:migration
Reported by dan (at zeraweb) | 2008-05-01 14:52:11 UTC | 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 2008-06-01 14:44:12 UTC
def up def up create_table :groups do primary_key :id text :name timestamp :created_on end end end -

Matthew King 2008-06-01 14:45:04 UTC
Above code is the formatted version of the original bug report.
-

Matthew King 2008-06-09 14:28:59 UTC
- Assigned user changed from dan (at zeraweb) to Matthew King
-

Matthew King 2008-06-12 07:35:10 UTC
- Milestone set to 0.7.5 - Janus
-

Matthew King 2008-06-14 08:18:39 UTC
- 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.