Sha256: 0e4b7bf526e86f0ec81cca45794c7d1367f5bab942aa83299a480a4d4972058e
Contents?: true
Size: 503 Bytes
Versions: 34
Compression:
Stored size: 503 Bytes
Contents
class CreateChanges < ActiveRecord::Migration def self.up create_table :changes do |t| t.column :changeset_id, :integer, :null => false t.column :action, :string, :limit => 1, :default => "", :null => false t.column :path, :string, :default => "", :null => false t.column :from_path, :string t.column :from_revision, :integer end add_index :changes, [:changeset_id], :name => :changesets_changeset_id end def self.down drop_table :changes end end
Version data entries
34 entries across 34 versions & 1 rubygems