Sha256: c6d3cde8019729b8a1121570c0e1f957e9ad62f210316888688e9436da5b18d2

Contents?: true

Size: 827 Bytes

Versions: 15

Compression:

Stored size: 827 Bytes

Contents

ActiveRecord::Schema.define do
  create_table :binary_fields, :force => true, :options => 'CHARACTER SET latin1' do |t|
    t.binary :tiny_blob,   :limit => 255
    t.binary :normal_blob, :limit => 65535
    t.binary :medium_blob, :limit => 16777215
    t.binary :long_blob,   :limit => 2147483647
    t.text   :tiny_text,   :limit => 255
    t.text   :normal_text, :limit => 65535
    t.text   :medium_text, :limit => 16777215
    t.text   :long_text,   :limit => 2147483647
  end

  ActiveRecord::Base.connection.execute <<-SQL
DROP PROCEDURE IF EXISTS ten;
SQL

  ActiveRecord::Base.connection.execute <<-SQL
CREATE PROCEDURE ten() SQL SECURITY INVOKER
BEGIN
	select 10;
END
SQL

  ActiveRecord::Base.connection.execute <<-SQL
CREATE PROCEDURE topics() SQL SECURITY INVOKER
BEGIN
	select * from topics limit 1;
END
SQL

end

Version data entries

15 entries across 15 versions & 4 rubygems

Version Path
activerecord-2.3.18 test/schema/mysql_specific_schema.rb
activerecord-2.3.17 test/schema/mysql_specific_schema.rb
activerecord-2.3.16 test/schema/mysql_specific_schema.rb
activerecord-2.3.15 test/schema/mysql_specific_schema.rb
radiant-1.0.0 ruby-debug/ruby/1.8/gems/activerecord-2.3.14/test/schema/mysql_specific_schema.rb
vanity-1.7.1 vendor/ruby/1.9.1/gems/activerecord-2.3.12/test/schema/mysql_specific_schema.rb
activerecord-2.3.14 test/schema/mysql_specific_schema.rb
kajam-1.0.3.rc2 vendor/rails/activerecord/test/schema/mysql_specific_schema.rb
activerecord-2.3.12 test/schema/mysql_specific_schema.rb
radiant-1.0.0.rc2 vendor/rails/activerecord/test/schema/mysql_specific_schema.rb
radiant-1.0.0.rc1 vendor/rails/activerecord/test/schema/mysql_specific_schema.rb
activerecord-2.3.11 test/schema/mysql_specific_schema.rb
activerecord-2.3.10 test/schema/mysql_specific_schema.rb
activerecord-2.3.9 test/schema/mysql_specific_schema.rb
activerecord-2.3.9.pre test/schema/mysql_specific_schema.rb