We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1bed3fd + 2b9d8ed commit e63142bCopy full SHA for e63142b
spec/active_record/connection_adapters/oracle_enhanced/schema_statements_spec.rb
@@ -882,6 +882,15 @@ class ::TestPost < ActiveRecord::Base; end
882
expect(TestPost.columns_hash["body"]).not_to be_nil
883
end
884
885
+ it "should add longer column" do
886
+ skip unless @oracle12cr2_or_higher
887
+ schema_define do
888
+ add_column :test_posts, "a" * 128, :string
889
+ end
890
+ TestPost.reset_column_information
891
+ expect(TestPost.columns_hash["a" * 128]).not_to be_nil
892
893
+
894
it "should add lob column with non_default tablespace" do
895
ActiveRecord::ConnectionAdapters::OracleEnhancedAdapter.default_tablespaces[:clob] = DATABASE_NON_DEFAULT_TABLESPACE
896
schema_define do
0 commit comments