Class: Tina4::Realtime::Workspace

Inherits:
ORM
  • Object
show all
Defined in:
lib/tina4/realtime/workspace.rb

Overview

Workspace - the top-level container for channels (a "team" / "org"). Framework-owned table: the tina4_rt_ prefix keeps it clear of an app's own domain tables (mirrors tina4_migration / tina4_sequences + the Python master's tina4_rt_* tables). Ruby is snake_case end to end, so the columns, attributes, and JSON keys are all snake_case with no mapping layer.

Method Summary

Methods inherited from ORM

all, auto_crud, auto_crud=, auto_map, auto_map=, belongs_to, clear_rel_cache, count, create, create_table, db, db=, #delete, eager_load, #errors, exists, field_mapping, field_mapping=, find, find_by_id, find_or_fail, #force_delete, from_hash, get_db, get_db_column, #get_error, has_many, has_one, inherited, #initialize, #last_error, #load, model_subclasses, #persisted?, query, relationship_definitions, #restore, #save, scope, select, #select, select_one, soft_delete, soft_delete=, soft_delete_field, soft_delete_field=, #to_array, #to_h, #to_json, #to_s, #validate, where, with_trashed

Methods included from FieldTypes

included

Constructor Details

This class inherits a constructor from Tina4::ORM