Sha256: a8c17264145d0488ab190692a94b5aa7df40cf9758cecc6108887a4f4697129a
Contents?: true
Size: 499 Bytes
Versions: 5
Compression:
Stored size: 499 Bytes
Contents
class CreateArchitectures < ActiveRecord::Migration def self.up create_table :architectures do |t| t.string "name", :limit => 10, :default => "x86_64", :null => false t.timestamps end create_table :architectures_operatingsystems, :id => false do |t| t.references :architecture, :null => false t.references :operatingsystem, :null => false end end def self.down drop_table :architectures drop_table :architectures_operatingsystems end end
Version data entries
5 entries across 5 versions & 1 rubygems