16 lines
1.9 KiB
XML
16 lines
1.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?><sqlb_project><db path="database.sqlite" readonly="0" foreign_keys="1" case_sensitive_like="0" temp_store="0" wal_autocheckpoint="1000" synchronous="2"/><attached/><window><main_tabs open="structure browser pragmas query" current="1"/></window><tab_structure><column_width id="0" width="300"/><column_width id="1" width="0"/><column_width id="2" width="100"/><column_width id="3" width="746"/><column_width id="4" width="0"/><expanded_item id="0" parent="1"/><expanded_item id="1" parent="1"/><expanded_item id="2" parent="1"/><expanded_item id="3" parent="1"/></tab_structure><tab_browse><table title="Clientes" custom_title="0" dock_id="1" table="4,8:mainClientes"/><dock_state state="000000ff00000000fd0000000100000002000001c300000281fc0100000001fb000000160064006f0063006b00420072006f00770073006500310100000000000001c30000010100ffffff000001c30000000000000004000000040000000800000008fc00000000"/><default_encoding codec=""/><browse_table_settings><table schema="main" name="Clientes" show_row_id="0" encoding="" plot_x_axis="" unlock_view_pk="_rowid_" freeze_columns="0"><sort/><column_widths><column index="1" value="21"/><column index="2" value="89"/><column index="3" value="120"/><column index="4" value="113"/></column_widths><filter_values/><conditional_formats/><row_id_formats/><display_formats/><hidden_columns/><plot_y_axes/><global_filter/></table></browse_table_settings></tab_browse><tab_sql><sql name="SQL 1*">CREATE TABLE IF NOT EXISTS Clientes (
|
|
Id INTEGER PRIMARY KEY AUTOINCREMENT,
|
|
Nome TEXT NOT NULL,
|
|
Email TEXT NOT NULL,
|
|
CriadoEm DATETIME NOT NULL
|
|
);
|
|
|
|
CREATE TABLE IF NOT EXISTS LogsLocal (
|
|
Id INTEGER PRIMARY KEY AUTOINCREMENT,
|
|
Message TEXT NOT NULL,
|
|
CreatedAt DATETIME NOT NULL
|
|
);
|
|
|
|
INSERT INTO Clientes (Nome, Email, CriadoEm)
|
|
VALUES ('Exemplo Cliente', 'exemplo@dominio.com', datetime('now'));</sql><current_tab id="0"/></tab_sql></sqlb_project>
|