Skip to content
Snippets Groups Projects
Unverified Commit 1aded670 authored by João Victor Risso's avatar João Victor Risso
Browse files

Add schema_creation method to monetdb_adapter

parent cec01cbb
No related branches found
No related tags found
No related merge requests found
module ActiveRecord
module ConnectionAdapters
# MonetDB-specific extensions to column definitions in a table.
class MonetDBColumn < Column #:nodoc:
def initialize(name, default, cast_type, sql_type = nil, null = true, default_function = nil)
super(name, default, cast_type, sql_type, null)
@default_function = default_function
end
end
end
end
...@@ -80,9 +80,9 @@ module ActiveRecord ...@@ -80,9 +80,9 @@ module ActiveRecord
!native_database_types[type].nil? !native_database_types[type].nil?
end end
#def schema_creation def schema_creation
# SchemaCreation.new self MonetDB::SchemaCreation.new self
#end end
def supports_migrations? def supports_migrations?
true true
...@@ -292,9 +292,6 @@ module ActiveRecord ...@@ -292,9 +292,6 @@ module ActiveRecord
end end
end end
class MonetDBColumn < Column
end
module MonetDB module MonetDB
module Quoting module Quoting
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment