ddbcli 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -63,6 +63,14 @@ rule
63
63
  {
64
64
  struct(:CREATE, val[4].merge(:table => val[2], :capacity => val[6]))
65
65
  }
66
+ | CREATE TABLE IDENTIFIER LIKE IDENTIFIER
67
+ {
68
+ struct(:CREATE_LIKE, :table => val[2], :like => val[4], :capacity => nil)
69
+ }
70
+ | CREATE TABLE IDENTIFIER LIKE IDENTIFIER capacity_clause
71
+ {
72
+ struct(:CREATE_LIKE, :table => val[2], :like => val[4], :capacity => val[5])
73
+ }
66
74
 
67
75
  create_definition : IDENTIFIER attr_type_list HASH
68
76
  {
@@ -493,6 +501,7 @@ KEYWORDS = %w(
493
501
  IN
494
502
  IS
495
503
  KEYS_ONLY
504
+ LIKE
496
505
  LIMIT
497
506
  NEXT
498
507
  NOT
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ddbcli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: