lib/ardb/adapter/mysql.rb in ardb-0.28.3 vs lib/ardb/adapter/mysql.rb in ardb-0.29.0
- old
+ new
@@ -1,21 +1,6 @@
-require 'ardb/adapter/base'
+require "ardb/adapter/base"
module Ardb::Adapter
-
- class Mysql < Base
-
- def foreign_key_add_sql
- "ALTER TABLE :from_table"\
- " ADD CONSTRAINT :name"\
- " FOREIGN KEY (:from_column)"\
- " REFERENCES :to_table (:to_column)"
- end
-
- def foreign_key_drop_sql
- "ALTER TABLE :from_table"\
- " DROP FOREIGN KEY :name"
- end
-
+ class Mysql < Ardb::Adapter::Base
end
-
end