From 9931e0888b2419326ae10ebbfae532261c5c125f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 30 Jun 2016 16:11:56 +0200 Subject: Fix submodules --- vim/bundle/vim-snippets | 1 + vim/bundle/vim-snippets/snippets/sql.snippets | 26 -------------------------- 2 files changed, 1 insertion(+), 26 deletions(-) create mode 160000 vim/bundle/vim-snippets delete mode 100644 vim/bundle/vim-snippets/snippets/sql.snippets (limited to 'vim/bundle/vim-snippets/snippets/sql.snippets') diff --git a/vim/bundle/vim-snippets b/vim/bundle/vim-snippets new file mode 160000 index 0000000..15d7e5e --- /dev/null +++ b/vim/bundle/vim-snippets @@ -0,0 +1 @@ +Subproject commit 15d7e5ec26ec93adee4051b6359be90a943aa38d diff --git a/vim/bundle/vim-snippets/snippets/sql.snippets b/vim/bundle/vim-snippets/snippets/sql.snippets deleted file mode 100644 index 556fae0..0000000 --- a/vim/bundle/vim-snippets/snippets/sql.snippets +++ /dev/null @@ -1,26 +0,0 @@ -snippet tbl - create table ${1:table} ( - ${0:columns} - ); -snippet col - ${1:name} ${2:type} ${3:default ''} ${0:not null} -snippet ccol - ${1:name} varchar2(${2:size}) ${3:default ''} ${0:not null} -snippet ncol - ${1:name} number ${3:default 0} ${0:not null} -snippet dcol - ${1:name} date ${3:default sysdate} ${0:not null} -snippet ind - create index ${0:$1_$2} on ${1:table}(${2:column}); -snippet uind - create unique index ${1:name} on ${2:table}(${0:column}); -snippet tblcom - comment on table ${1:table} is '${0:comment}'; -snippet colcom - comment on column ${1:table}.${2:column} is '${0:comment}'; -snippet addcol - alter table ${1:table} add (${2:column} ${0:type}); -snippet seq - create sequence ${1:name} start with ${2:1} increment by ${3:1} minvalue ${0:1}; -snippet s* - select * from ${0:table} -- cgit v1.2.3