0
我正在关注this James Ward Playframework tutorial并且在27:00左右有一个生成的SQL文件,其中有#
整个标志。这些是什么意思?有这个词吗? (我添加了下面的文件)播放框架:`#`出现在生成的SQL文件中
当我删除它们以符合SQL语法时,我得到一个SQLException,我的表无法找到。我保留#
符号,但我不明白他们为什么在那里。谁能解释一下?
这里是文件,以供参考:
#--- Created by Ebean DDL
# To stop Ebean DDL generation, remove this comment and start using Evolutions
# --- !Ups
create table bar (
id varchar(255) not null,
name varchar(255),
constraint pk_bar primary key (id))
;
create sequence bar_seq;
# --- !Downs
SET REFERENTIAL_INTEGRITY FALSE;
drop table if exists bar;
SET REFERENTIAL_INTEGRITY TRUE;
drop sequence if exists bar_seq;