include/drivers/mysql/mysql_columns.rb in baza-0.0.9 vs include/drivers/mysql/mysql_columns.rb in baza-0.0.10

- old
+ new

@@ -4,10 +4,10 @@ def initialize(args) @args = args end #Returns the SQL for this column. - DATA_SQL_ALLOWED_KEYS = [:type, :maxlength, :name, :primarykey, :autoincr, :default, :comment, :after, :first, :storage, :null] + DATA_SQL_ALLOWED_KEYS = [:type, :maxlength, :name, :primarykey, :autoincr, :default, :comment, :after, :first, :storage, :null, :renames] def data_sql(data) data.each do |key, val| raise "Invalid key: '#{key}' (#{key.class.name})." if !DATA_SQL_ALLOWED_KEYS.include?(key) end \ No newline at end of file