Project

General

Profile

« Previous | Next » 

Revision 2e291eb2

Added by Ohad Levy about 12 years ago

  • ID 2e291eb23bd496947e6704a5aa7a51b03489f651

fixes #1568 - PG::Error on fresh install

View differences:

db/migrate/20090730152224_create_ptables.rb
class CreatePtables < ActiveRecord::Migration
class Ptable < ActiveRecord::Base; end
def self.up
create_table :ptables do |t|
t.string :name, :limit => 64, :null => false
......
t.references :operatingsystem, :null => false
end
end
def self.down

Also available in: Unified diff