Displaying 1 result from an estimated 1 matches for "20090715172542_create_projects".
2009 Jul 21
1
synatx error while running migration
...adapter: mysql
database: pms
username: root
password: root123
host: localhost
i have also define the necessary code inside my all engine models and
migration files
like this
code of
project.rb
class Project < ActiveRevcord::Base
self.establish_connection :pms
end
/db/migrate/20090715172542_create_projects.rb
class CreateProjects < ActiveRecord::Migration
def self.connection
Project.connection
end
def self.up
create_table :projects do |t|
t.string :name
t.text :description
t.integer :manager_id
t.timestamps
end...