jruby/activerecord-jdbc-adapter — Issue #128: Oracle db:schema:dump results in invalid :limit for Date columns
Author: lenny
Created: 2011-11-07 18:01:04+00:00
State: open

create_table "authors", :force => true do |t|
t.datetime "created_at", :limit => 7
......

DEBUG jruby.Submissions debug:110 - SQL (2450.0ms) CREATE TABLE authors (id NUMBER(38) NOT NULL PRIMARY
KEY, submission_id NUMBER(38), given_name varchar2(4000), surname varchar2(4000), email varchar2(4000), affiliation
varchar2(4000), series NUMBER(38), created_at DATE(7), updated_at DATE(7))
DEBUG jruby.Submissions log:206 - ActiveRecord::JDBCError: ORA-00907: missing right parenthesis
: CREATE TABLE authors (id NUMBER(38) NOT NULL PRIMARY KEY, submission_id NUMBER(38), given_name
varchar2(4000), surname varchar2(4000), email varchar2(4000), affiliation varchar2(4000), series NUMBER(38), created_at
DATE(7), updated_at DATE(7))