public
Description: All the extra stuff you could want for the Mack Framework.
Homepage: http://www.mackframework.com
Clone URL: git://github.com/markbates/mack-more.git
mack-more / mack-active_record / spec / fixtures / mig_create_zoos_full.fixture
100644 17 lines (13 sloc) 0.294 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
class CreateZoos < ActiveRecord::Migration
 
  def self.up
    create_table :zoos do |t|
      t.column :name, :string
      t.column :description, :text
      t.column :created_at, :date_time
      t.column :updated_at, :date_time
    end
  end
 
  def self.down
    drop_table :zoos
  end
 
end