Method: Cure::DatabaseService#list_tables

Defined in:
lib/cure/database.rb

#list_tablesObject



171
172
173
174
175
176
177
178
179
180
181
# File 'lib/cure/database.rb', line 171

def list_tables
  tbl_arr = @database.tables
  tbl_arr.delete(:variables)

  if tbl_arr.include?(:translations)
    tbl_arr.delete(:translations)
    tbl_arr.push(:translations)
  end

  tbl_arr
end