firebase

<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">

    <changeSet context="legacy" author="author (generated)" id="1">
        <createTable tableName="test">
            <column autoIncrement="true" name="id" type="SERIAL">
                <constraints nullable="false"/>
            </column>
            <column name="user_name" type="VARCHAR(255)"/>
            <column name="preferences" type="TEXT"/>
        </createTable>
    </changeSet>
</databaseChangeLog>

5
1
Dave White 90 points

                                    firebase.google.com  is used to create mobileand web applications

5 (1 Votes)
0
4
10
Facepalm42 100 points

                                    &lt;databasechangelog xmlns=&quot;http://www.liquibase.org/xml/ns/dbchangelog&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; xsi:schemalocation=&quot;http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-2.0.xsd&quot;&gt;
  &lt;changeset id=&quot;1&quot; author=&quot;[email protected]&quot; runonchange=&quot;true&quot;&gt; 
    &lt;createtable tablename=&quot;Person&quot;&gt; 
      &lt;column autoincrement=&quot;true&quot; name=&quot;id&quot; type=&quot;BIGINT&quot;&gt; 
        &lt;constraints nullable=&quot;false&quot; primarykey=&quot;true&quot;&gt; 
        &lt;/constraints&gt;
      &lt;/column&gt; 
      &lt;column name=&quot;name&quot; type=&quot;VARCHAR(255)&quot;&gt; 
        &lt;constraints nullable=&quot;false&quot;&gt; 
        &lt;/constraints&gt;
      &lt;/column&gt; 
    &lt;/createtable&gt; 
  &lt;/changeset&gt;
&lt;/databasechangelog&gt;

4 (10 Votes)
0
4
1

                                    // Create Firebase project

// Create Web app in Firebase console

// Link project

var firebaseConfig = {
  apiKey: // apiKey,
  authDomain: // authDomain,
  databaseURL: // databaseURL,
  projectId: // projectId,
  storageBucket: // storageBucket,
  messagingSenderId: // messagingSenderId,
  appId: // appId,
  measurementId: // measurementId
};
firebase.initializeApp(firebaseConfig);

// Add your dependencies

//E.G.

&lt;script src=&quot;https://www.gstatic.com/firebasejs/7.21.1/firebase-app.js&quot;&gt;&lt;/script&gt;

4 (1 Votes)
0
4.14
7
Kid 100 points

                                    &lt;changeSet context=&quot;legacy&quot; author=&quot;author (generated)&quot; id=&quot;1&quot;&gt;
    &lt;createTable tableName=&quot;test&quot;&gt;
        &lt;column autoIncrement=&quot;true&quot; name=&quot;id&quot; type=&quot;SERIAL&quot;&gt;
            &lt;constraints primaryKey=&quot;true&quot; primaryKeyName=&quot;test_pkey&quot;/&gt;
        &lt;/column&gt;
        &lt;column name=&quot;c1&quot; type=&quot;VARCHAR(255)&quot;/&gt;
        &lt;column name=&quot;c2&quot; type=&quot;INTEGER&quot;/&gt;
        &lt;column name=&quot;c3&quot; type=&quot;SMALLINT&quot;/&gt;
        &lt;column name=&quot;c4&quot; type=&quot;VARCHAR(255)&quot;/&gt;
        &lt;column name=&quot;c5&quot; type=&quot;TEXT&quot;/&gt;
        &lt;column name=&quot;c6&quot; type=&quot;VARCHAR(255)&quot;/&gt;
    &lt;/createTable&gt;
&lt;/changeSet&gt;

4.14 (7 Votes)
0
Are there any code examples left?
Made with love
This website uses cookies to make IQCode work for you. By using this site, you agree to our cookie policy

Welcome Back!

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign in
Recover lost password
Or log in with

Create a Free Account

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign up
Or sign up with
By signing up, you agree to the Terms and Conditions and Privacy Policy. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.
Creating a new code example
Code snippet title
Source