Sha256: 16cd5220f0934d513688a0a590be4d34112e30a3cb88b9bdad28b10f1d49d4e4

Contents?: true

Size: 1.02 KB

Versions: 6

Compression:

Stored size: 1.02 KB

Contents

# coding: utf-8

require File.expand_path(File.dirname(__FILE__) + "/leprechaun")

ActiveRecord::Schema.define(:version => 1) do
  
  create_table :leprechauns do |t|
    t.column :name,                                             :string
    t.column :favorite_color,                                   :string
    t.column :favorite_color_in_rot_13,                         :string
    t.column :favorite_color_in_rot_13_without_cache,           :string
    t.column :favorite_color_turned_uppercase,                  :string
    t.column :id_of_first_leprechaun_with_same_favorite_color,  :integer
    t.column :some_other_cache_field,                           :string
    t.column :reload_callback,                                  :float
    t.column :clear_callback,                                   :float
  end
  
  Leprechaun.create!(:name => 'Mc Nairn', :favorite_color => 'blue')
  Leprechaun.create!(:name => "O' Houhlihan", :favorite_color => 'ochre')
  Leprechaun.create!(:name => "Danger Cáinte", :favorite_color => 'blue')
  
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
cached_values-1.9.1 test/schema.rb
cached_values-1.9.0 test/schema.rb
cached_values-1.8.1 test/schema.rb
cached_values-1.8.0 test/schema.rb
cached_values-1.7.3 test/schema.rb
cached_values-1.7.2 test/schema.rb