JRubyã§ActiveRecord使ã£ãããã¦ã¿ããã©ãæ®éã®Rubyã§ã使ã£ã¦ã¿ãã ã¨ãããããRubyãDLãã¦ãã¦ã¤ã³ã¹ãã¼ã«ã gem install railsãå®è¡ãã¦ä¸éãã¤ã³ã¹ãã¼ã« gem postgres-prãå®è¡ãã¦PostgreSQLã«ã¤ãªããã®ã«å¿ è¦ãªãã®ãã²ãã å®é¨ã«ä½¿ã£ããã¼ãã«ã¯åã«ä½¿ã£ããã®ã¨åãã ä¸å¿DDLãã®ãã¦ãã create table departments ( id serial primary key, name varchar(50) ); create table employees ( id serial primary key, name varchar(50), department_id int, constraint fk_departments foreign key (department_id) referen
{{#tags}}- {{label}}
{{/tags}}