Displaying 1 result from an estimated 1 matches for "initialsetup".
Did you mean:
initial_setup
2006 Mar 29
2
Migration fails when using certain table name
...contant Section''
The weird thing is if I use a table name like ''categories'' with
Category.create instead of ''sections'' and Section.create then it all
works fine! I''m working from Rails 1.1
This is an example migration that fails:
=====
class InitialSetup < ActiveRecord::Migration
def self.up
# Page sections table
create_table :sections do |t|
t.column "title", :string, :limit => 60
t.column "link", :string, :limit => 60
t.column "page_title", :string
t.col...