mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-10-24 23:56:36 +00:00
#365 - ENH: Add @DbComment with DDL generation of table and column comments
This commit is contained in:
@@ -4,6 +4,7 @@ create table foo (
|
||||
col3 varchar(30) not null,
|
||||
constraint pk_foo primary key (col1)
|
||||
);
|
||||
comment on table foo is 'comment';
|
||||
create sequence foo_seq;
|
||||
|
||||
alter table foo add column added_to_foo varchar(20);
|
||||
|
||||
@@ -4,5 +4,6 @@ create table foo (
|
||||
col3 varchar(30) not null,
|
||||
constraint pk_foo primary key (col1)
|
||||
);
|
||||
comment on table foo is 'comment';
|
||||
create sequence foo_seq;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user