Sha256: b1709285b3ca7bfb28416402458fc66c706552ab8b45b74bb7136ba790b2ccf6

Contents?: true

Size: 837 Bytes

Versions: 3

Compression:

Stored size: 837 Bytes

Contents

ActiveRecord::Schema.define(:version => 0) do
  create_table :spaceships, :force => true do |t| 
    t.string :type, :null => false, :default => 'Spaceship'
    t.integer :flags, :null => false, :default => 0
    t.string :incorrect_flags_column, :null => false, :default => ''
  end 

  create_table :spaceships_with_custom_flags_column, :force => true do |t| 
    t.integer :bits, :null => false, :default => 0
  end

  create_table :spaceships_with_2_custom_flags_column, :force => true do |t| 
    t.integer :bits, :null => false, :default => 0
    t.integer :commanders, :null => false, :default => 0
  end

  create_table :spaceships_without_flags_column, :force => true do |t| 
  end

  create_table :spaceships_with_non_integer_column, :force => true do |t| 
    t.string :flags, :null => false, :default => 'A string'
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
flag_shih_tzu-0.2.4 test/schema.rb
flag_shih_tzu-0.2.3 test/schema.rb
flag_shih_tzu-0.1.0.pre test/schema.rb