Sha256: a3dcbcaa23ecdf68038962bcf860a61403981feddd01f8fc769d9446b30cee25
Contents?: true
Size: 269 Bytes
Versions: 39
Compression:
Stored size: 269 Bytes
Contents
class AddVersionedTables < ActiveRecord::Migration def self.up create_table("things") do |t| t.column :title, :text end Thing.create_versioned_table end def self.down Thing.drop_versioned_table drop_table "things" rescue nil end end
Version data entries
39 entries across 39 versions & 2 rubygems