Skip to content

Commit

Permalink
add dummy spec files
Browse files Browse the repository at this point in the history
  • Loading branch information
nabeta committed Nov 11, 2016
1 parent 32cbba3 commit 8060f0d
Show file tree
Hide file tree
Showing 6 changed files with 53 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
class AddMostRecentToImportRequestTransitions < ActiveRecord::Migration
def up
add_column :import_request_transitions, :most_recent, :boolean, null: true
end

def down
remove_column :import_request_transitions, :most_recent
end
end
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
class AddMostRecentToResourceImportFileTransitions < ActiveRecord::Migration
def up
add_column :resource_import_file_transitions, :most_recent, :boolean, null: true
end

def down
remove_column :resource_import_file_transitions, :most_recent
end
end
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
class AddMostRecentToResourceExportFileTransitions < ActiveRecord::Migration
def up
add_column :resource_export_file_transitions, :most_recent, :boolean, null: true
end

def down
remove_column :resource_export_file_transitions, :most_recent
end
end
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
class AddMostRecentToAgentImportFileTransitions < ActiveRecord::Migration
def up
add_column :agent_import_file_transitions, :most_recent, :boolean, null: true
end

def down
remove_column :agent_import_file_transitions, :most_recent
end
end
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
class AddPictureWidthToPictureFile < ActiveRecord::Migration
def change
add_column :picture_files, :picture_width, :integer
add_column :picture_files, :picture_height, :integer
end
end
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
class AddAttachmentAttachmentToCarrierTypes < ActiveRecord::Migration
def self.up
change_table :carrier_types do |t|
t.attachment :attachment
end
end

def self.down
remove_attachment :carrier_types, :attachment
end
end

0 comments on commit 8060f0d

Please sign in to comment.