module Believer::DDL::ClassMethods

Public Instance Methods

create_table(properties = {}) click to toggle source
# File lib/believer/ddl.rb, line 12
def create_table(properties = {})
  ::Believer::CreateTable.new(:record_class => self, :table_properties => properties).execute
end
drop_table() click to toggle source
# File lib/believer/ddl.rb, line 8
def drop_table
  ::Believer::DropTable.new(:record_class => self).execute
end