execute "ALTER TABLE #{tablename} ALTER COLUMN id TYPE bigint"
when "mysql"
execute "ALTER TABLE #{tablename} CHANGE id id BIGINT AUTO_INCREMENT"
- when "derby"
- # do nothing as alter can not do the job in Derby
+ when "h2"
+ # not needed?
when "oracle"
# do nothing, oracle integer are big enough
when "sqlserver"
def self.production?
@@production ||=
begin
- dialect()!='derby'
+ dialect()!='h2'
end
end
end
+++ /dev/null
-#!/bin/sh
-
-#
-# NOTE: sonar must be built
-#
-cd sonar-application/target/
-unzip sonar-*.zip
-cd sonar-*
-bin/macosx-universal-64/sonar.sh console
--- /dev/null
+#!/bin/sh
+
+#
+# NOTE: sonar must be built
+#
+cd sonar-application/target/
+unzip sonar-*.zip
+cd sonar-*
+bin/macosx-universal-64/sonar.sh console